summaryrefslogtreecommitdiff
path: root/audio/fmodaudio.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-04 16:51:32 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-07-04 16:51:32 +0000
commit8ead62cfc21f61a32677892c721674e06e9f6153 (patch)
treeafaeb2e3c1b2747671643575baebfe75592e5e6f /audio/fmodaudio.c
parentfeea13e186a902179fcd79e3ce5318b5eb73c0d2 (diff)
downloadqemu-8ead62cfc21f61a32677892c721674e06e9f6153.tar.gz
qemu-8ead62cfc21f61a32677892c721674e06e9f6153.tar.bz2
qemu-8ead62cfc21f61a32677892c721674e06e9f6153.zip
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/fmodaudio.c')
-rw-r--r--audio/fmodaudio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/audio/fmodaudio.c b/audio/fmodaudio.c
index 072d8a830a..23f267753f 100644
--- a/audio/fmodaudio.c
+++ b/audio/fmodaudio.c
@@ -153,13 +153,11 @@ static void fmod_write_sample (HWVoiceOut *hw, uint8_t *dst, int dst_len)
if (src_len1) {
hw->clip (dst, src1, src_len1);
- mixeng_clear (src1, src_len1);
}
if (src_len2) {
dst = advance (dst, src_len1 << hw->info.shift);
hw->clip (dst, src2, src_len2);
- mixeng_clear (src2, src_len2);
}
hw->rpos = pos % hw->samples;