Mailing List archive

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

[vdr] Re: VDR 1.3.12 buffer optimizations



On Sun, 26 Sep 2004 17:46:52 +0200, Klaus Schmidinger
<Klaus.Schmidinger@cadsoft.de> wrote:

> I'd like to avoid the 'usleep(1)' in cRecorder::Action() and use
> ringBuffer->SetTimeouts(0, 100) (see cRecorder::cRecorder()) instead,
> but if I do so, the recording buffers run full even faster.
> It almost looks as if something is wrong with the way cRingBuffer::WaitForPut()
> and cRingBuffer::WaitForGet() are implemented...
> 
> Maybe some of you can take a look at this patch and try it out.

I tried the patch on the WLAN client and it seems to be that it doesn't
work so good. With the previous patch it seemd to be more stable with a
recording.

Emil




Home | Main Index | Thread Index