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