On Wed, 14 Nov 2007, Timur Tabi wrote: > In my ISR, I call snd_pcm_period_elapsed() to tell it that a period has > elapsed. > I can also detect if playback has aborted for some reason (e.g. DMA > controller has died). Is there a function I can call in my ISR to tell > ALSA to abort playback or capture? 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. Jaroslav ----- Jaroslav Kysela <perex@xxxxxxxx> Linux Kernel Sound Maintainer ALSA Project _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel