diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/alsaaudio.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index f0171f9842..3ca40780ec 100644 --- a/audio/alsaaudio.c +++ b/audio/alsaaudio.c @@ -889,6 +889,10 @@ static int alsa_ctl_out (HWVoiceOut *hw, int cmd, ...) case VOICE_DISABLE: ldebug ("disabling voice\n"); + if (hw->poll_mode) { + hw->poll_mode = 0; + alsa_fini_poll (&alsa->pollhlp); + } return alsa_voice_ctl (alsa->handle, "playback", 1); } |