diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 55f4e4a5ec657a017e3bf75299ad71fd1c968dd3 (patch) | |
tree | 550ce922ea0e125ac6a9738210ce2939bf2fe901 /audio/wavcapture.c | |
parent | 413f05aaf54fa08c0ae7e997327a4f4a473c0a8d (diff) | |
download | external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.zip external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.tar.gz external_qemu-55f4e4a5ec657a017e3bf75299ad71fd1c968dd3.tar.bz2 |
Initial Contribution
Diffstat (limited to 'audio/wavcapture.c')
-rw-r--r-- | audio/wavcapture.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/audio/wavcapture.c b/audio/wavcapture.c index 0f6f7bf..748b580 100644 --- a/audio/wavcapture.c +++ b/audio/wavcapture.c @@ -103,8 +103,7 @@ int wav_start_capture (CaptureState *s, const char *path, int freq, } if (nchannels != 1 && nchannels != 2) { - term_printf ("incorrect channel count %d, must be 1 or 2\n", - nchannels); + term_printf ("incorrect channel count %d, must be 1 or 2\n", bits); return -1; } @@ -122,8 +121,7 @@ int wav_start_capture (CaptureState *s, const char *path, int freq, wav = qemu_mallocz (sizeof (*wav)); if (!wav) { - term_printf ("Could not allocate memory for wav capture (%zu bytes)", - sizeof (*wav)); + AUD_log ("wav", "Could not allocate memory (%zu bytes)", sizeof (*wav)); return -1; } |