Justin Schoeman wrote:
Yep - I know the problem... I searched long and hard for a way around it, and this code is the best I could find ;-(. I have looked at ALSA, and it does seem to have good, atomic timestamping, but I have never gotten around to porting yet.
Same here, the prospect of having to read all that doc is frightening.
For most purposes the current code works fine. I use it for timestamping in nvrec. I have viewed timeshifted recordings longer than 4 hours already without any noticeable synch problems at any time.
That's a good sign. But our design goal is 24/7 capture, hopefully running unattended for weeks or months.
Anyway, what buffer size do you use?
-justin
-- Michel Bardiaux Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles Tel : +32 2 790.29.41