]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: dmix: Don't ignore SND_TIMER_EVENT_MSTOP
authorTakashi Iwai <tiwai@suse.de>
Thu, 6 Nov 2014 11:12:02 +0000 (12:12 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 6 Nov 2014 11:12:02 +0000 (12:12 +0100)
commit5a066cb884815ab48924da8f70514d587400dd6a
tree67a507ef3b6a96e669754a6fcf0287ac7311209f
parentc7bfcbb25548db39299488e285b510a174231076
pcm: dmix: Don't ignore SND_TIMER_EVENT_MSTOP

When a slave PCM gets an error like XRUN, it stops and notifies with
SND_TIMER_EVENT_MSTOP event.  But the current code filters out this
type and eventually hang due to the empty timer queue.  The fix is to
just add this event type to the filter bit mask.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_direct.c