Re: snd_pcm_status_get_tstamp()

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

 



At Mon, 31 Dec 2007 17:53:40 +0100,
Lennart Poettering wrote:
> 
> Hi!
> 
> The documentation for snd_pcm_status_get_tstamp() is not really
> enlightening. After a call to snd_pcm_status() what data does the
> tstamp field actually carry? Some kind of system clock timestamp when
> the data in the status struct was valid, or some kind of sound card
> clock timestamp that is relative to the point in time where the device
> was opened/started?

In the normal mode, it's the timestamp at the moment snd_pcm_status()
is processed.  OTOH, the trigger_tstamp is the time that the trigger
callback was called (e.g. the stream starts / stops).
The time is the system-wide time, equivalent with the normal
gettimeofday().


Takashi
_______________________________________________
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