Re: Timing Info

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

 



On Sun, Jun 13, 2010 at 10:10 AM, Clemens Ladisch <clemens@xxxxxxxxxx>wrote:

> Paul Dugas wrote:
> > 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.
>

So, does setting SND_PCM_TSTAMP_ENABLE change the meaning of the tstamp
field in the status?  I believe I read somewhere that with TSTAMP_NONE,
tstamp was set to "now" when readi() was called.  Does it change to meaning
" the timestamp od the first frame returned"?  If not, where do I look?

Much thanks,

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