Takashi Iwai 1fb8510cdb ALSA: pcm: Add snd_pcm_stop_xrun() helper
Add a new helper function snd_pcm_stop_xrun() to the standard sequnce
lock/snd_pcm_stop(XRUN)/unlock by a single call, and replace the
existing open codes with this helper.

The function checks the PCM running state to prevent setting the wrong
state, too, for more safety.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-11-09 18:20:40 +01:00
..
2014-09-09 10:49:41 +01:00
2014-09-09 10:49:41 +01:00
2014-10-20 11:03:52 +01:00
2014-10-20 11:03:52 +01:00
2014-10-07 13:11:35 +01:00