Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 4f7c39dc authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm - Add proper state checks to snd_pcm_drain()



The handling for some PCM states is missing for snd_pcm_drain().
At least, XRUN streams should be simply dropped to SETUP, and a few
initial invalid states should be rejected.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d4c69838
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment