diff options
author | munkyu.im <munkyu.im@samsung.com> | 2012-08-25 16:00:05 +0900 |
---|---|---|
committer | munkyu.im <munkyu.im@samsung.com> | 2012-08-25 16:00:05 +0900 |
commit | 23d170ac7aabc01a0ae0373a1d70c69a86dcbd2b (patch) | |
tree | 0b16f4c0ca4fbf304478335b6c79a26d14e0323f | |
parent | 6d5ebc60b771a4f7e1b3c539fd5309af7353af05 (diff) | |
download | qemu-23d170ac7aabc01a0ae0373a1d70c69a86dcbd2b.tar.gz qemu-23d170ac7aabc01a0ae0373a1d70c69a86dcbd2b.tar.bz2 qemu-23d170ac7aabc01a0ae0373a1d70c69a86dcbd2b.zip |
[Title]fix : cannot clear out remain audio out data
[Type]Bugfix
[Module]winwave
[Priority]
[CQ#]N_SE-3347, N_SE-6260
[Redmine#]
[Problem]It is still remained after closing or pausing audio data
[Cause]waveOutPause() can not flush remaining audio data
[Solution]Use waveOutReset()
[TestCase]
Conflicts:
package/pkginfo.manifest
-rw-r--r-- | audio/winwaveaudio.c | 7 | ||||
-rw-r--r-- | package/pkginfo.manifest | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/audio/winwaveaudio.c b/audio/winwaveaudio.c index 87e7493270..234e3dc23c 100644 --- a/audio/winwaveaudio.c +++ b/audio/winwaveaudio.c @@ -361,10 +361,17 @@ static int winwave_ctl_out (HWVoiceOut *hw, int cmd, ...) case VOICE_DISABLE: if (!wave->paused) { +#if defined(CONFIG_MARU) + mr = waveOutReset (wave->hwo); + if (mr != MMSYSERR_NOERROR) { + winwave_logerr (mr, "waveOutReset"); + } +#else mr = waveOutPause (wave->hwo); if (mr != MMSYSERR_NOERROR) { winwave_logerr (mr, "waveOutPause"); } +#endif else { wave->paused = 1; } diff --git a/package/pkginfo.manifest b/package/pkginfo.manifest index c21245b65b..b3c0d1d6aa 100644 --- a/package/pkginfo.manifest +++ b/package/pkginfo.manifest @@ -1,4 +1,4 @@ -Version: 1.3.25 +Version: 1.3.27 Maintainer: Yeong-Kyoon Lee<yeongkyoon.lee@samsung.com> Source: emulator |