]> git.ipfire.org Git - thirdparty/qemu.git/commit
audio/winwave: previous audio buffer should be flushed
authormunkyu.im <munkyu.im@samsung.com>
Tue, 28 Aug 2012 07:42:06 +0000 (16:42 +0900)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 28 Aug 2012 19:38:44 +0000 (14:38 -0500)
commit256c89943262c4a10f4a1604d73918d37adad24e
tree2d7e3ed7f092a07e4f155e78b8b343ab61d0150e
parent849c8651553ecbbb29993880b8709b0ab8e27ab1
audio/winwave: previous audio buffer should be flushed

Winwave audio backend has problem with pausing and restart audio out.
Unlike other backends, Winwave pausing API does not flush audio buffer.
As a result, the previous audio data are played in front of
user expected sound when user restart audio.
So changes it to waveOutReset()

Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
Signed-off-by: malc <av1474@comtv.ru>
(cherry picked from commit 13ef70f64e9e4d7583fbd9918d8ea76194023d37)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
audio/winwaveaudio.c