[alsa-devel] Function to update the PCM status in alsa lib?

anuj aggarwal anuj.aggarwal at gmail.com
Mon Jun 16 13:44:55 CEST 2008


I am calling snd_pcm_period_elapsed() in my DMA callback routine.
After doing that, I check for more data in the 'runtime' struct and
pass a new request to xfer data to the codec driver.

snd_pcm_period_elapsed() is used to update the pcm status for the next
period, by the codec driver. I want to know which function is used by
the ALSA library to do the same when it receives a new request from
the user to transfer data (i.e. when user calls snd_pcm_writei()).


More information about the Alsa-devel mailing list