[alsa-devel] Timing Info

Clemens Ladisch clemens at ladisch.de
Sun Jun 13 16:10:19 CEST 2010

Paul Dugas wrote:
> Looks like some processing of the trigger timestamp is what I need

Trigger events are starting or stopping of a stream.

> What's the "timestamp mode".  Does it generate a timestamp each
> period?  How would I access that timestamp?

Set SND_PCM_TSTAMP_ENABLE to generate a timestamp whenever the hardware
position is updated.  Call snd_pcm_status to read the position and the
corresponding timestamp.


More information about the Alsa-devel mailing list