Re: Is there a function I can call from my ISR to tell ALSA to abort playback?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux