[alsa-devel] Help in understanding SND_PCM_TSTAMP_ENABLE mode snd_pcm_htimestamp function

divya v divyasslv at gmail.com
Wed Jul 17 09:10:39 CEST 2013


Hi,

I am looking for a method to maintain timestamps for every sample read or
written.
I noticed the *SND_PCM_TSTAMP_ENABLE mode. But the description mentions - ""
*pdate timestamp at every hardware position update"
Doe this mean that the when snd_pcm_htimestamp() is issued, we will get the
last hardware update timestamp or does it mean that it will fetch the
timestamp of that particular sample?

Thanks,
Divya


More information about the Alsa-devel mailing list