[alsa-devel] Is there a function I can call from my ISR to tell ALSA to abort playback?

Timur Tabi timur at freescale.com
Thu Nov 15 16:00:54 CET 2007


Jaroslav Kysela wrote:

> Yes, call snd_pcm_stop() function. The call must be protected with 
> snd_pcm_stream_lock... See to i2c/other/ak4117.c for an example.

That code calls snd_pcm_stop() from a timer, not an ISR.  Do I need the call to 
wake_up() as well?

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Alsa-devel mailing list