diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/winwaveaudio.c | 7 |
1 files changed, 7 insertions, 0 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; } |