Re: timestamps on sound?

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



The buffer size is calculated to hold approximately 1/4 (video) frames of data, with the total number of buffers calculated to give a total buffer space of 64K.

The main reason I used such a small buffer is so that interleaved file formats work well. I have also run it with larger buffers, and it still worked fine.

-justin


Michel Bardiaux wrote:
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







[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux