diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-04 16:51:32 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-04 16:51:32 +0000 |
commit | 8ead62cfc21f61a32677892c721674e06e9f6153 (patch) | |
tree | afaeb2e3c1b2747671643575baebfe75592e5e6f /audio/alsaaudio.c | |
parent | feea13e186a902179fcd79e3ce5318b5eb73c0d2 (diff) | |
download | qemu-8ead62cfc21f61a32677892c721674e06e9f6153.zip qemu-8ead62cfc21f61a32677892c721674e06e9f6153.tar.gz qemu-8ead62cfc21f61a32677892c721674e06e9f6153.tar.bz2 |
audio fixes + initial audio capture support (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2040 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/alsaaudio.c')
-rw-r--r-- | audio/alsaaudio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index 30f1e50..2cac396 100644 --- a/audio/alsaaudio.c +++ b/audio/alsaaudio.c @@ -61,8 +61,8 @@ static struct { .size_in_usec_in = 1, .size_in_usec_out = 1, #endif - .pcm_name_out = "hw:0,0", - .pcm_name_in = "hw:0,0", + .pcm_name_out = "default", + .pcm_name_in = "default", #ifdef HIGH_LATENCY .buffer_size_in = 400000, .period_size_in = 400000 / 4, @@ -606,7 +606,6 @@ static int alsa_run_out (HWVoiceOut *hw) } } - mixeng_clear (src, written); rpos = (rpos + written) % hw->samples; samples -= written; len -= written; |