12 Jun
2010
12 Jun
'10
1 a.m.
I'm using snd_pcm_readi() to collect samples and am wondering if/how I can get accurate timestamps for them. Seems like the snd_pcm_status() gives me this info but I'm unclear on the specifics. Can someone point me toward the correct field in the status structure that I should be using and what sample that timestamp corresponds to?
Does snd_pcm_status_get_tstamp() get me the timestamp for the first frame returned by the next snd_pcm_readi() call?
P