commit | 4f7c39dc557cabdbc932ae83432cc225c480133c | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon May 21 11:59:57 2012 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon May 21 12:03:54 2012 +0200 |
tree | 4441b85e8a0c4301eff132131b82bb6ff615a3c3 | |
parent | d4c6983859a82422640c727d2426b435dfff56f4 [diff] |
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: Takashi Iwai <tiwai@suse.de>