[alsa-devel] how to update hw_ptr and appl_ptr

Clemens Ladisch clemens at ladisch.de
Tue Jun 26 11:34:49 CEST 2012


Zhen Fu wrote:
> I recently look the function snd_pcm_update_hw_ptr0 want to  find how
> to update status->hw_ptr and control->appl_ptr.

status->hw_ptr is updated by snd_pcm_update_hw_ptr0.  control->appl_ptr
is updated by snd_pcm_lib_write1.

Why are you asking?


Regards,
Clemens


More information about the Alsa-devel mailing list