Function to update the PCM status in alsa lib?

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

 



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

[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