16 Jun
2008
16 Jun
'08
2:44 p.m.
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