Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: missing paused statement in cReplayBuffer::Input ?? for ac3 playback - sync
On 01 Aug 2001 Andreas Schultz <Andreas.Schultz@eastlink.de> wrote:
> Stefan Huelswitt wrote:
>
> [...]
>
> > Yes might be a good one. I spent a day to get this buffer thing
> > better but it's still not perfect.
>
> Stefan & Klaus, could you please have a look athe input&output
> synchornization mechanism i'm using in the as-3 snapshot (will be out
> this evening)
Ok, but I don't own a DVD drive, so I can't test anything. BTW
this could be difficult anyway as I'm using a heavily changed vdr
at the moment and you patches may not apply well.
> I have at least one report, that it is improving performance on low end
> systems. It avoid the tight busy loops currently used there. Klaus tried
> to defuse those by using udelay(1), i believe this causes latencys which
> might contribute to A/V desyncs in situations where the buffer is almost
> empty (and this case for all trick modes and on slow systems!)
Well, I started programming on an Amiga and the first thing I
learned was, that it's an absolute no no to use busy loops on a
multitaskting system. That's why I don't like the current design
much.
But I decided to not doing more work at this at the moment,
because I have done some work with buffering which has not found
his way to Klaus source (and may not find it as well). From some
comments on the list, I know that Klaus is thinking about
redesigning the buffering code, too. Things get to complicate
this way.
On the other hand I don't have problems with a/v sync at all.
That may be because I only deal with DVB viewing/replay and
because my Celeron 400MHz is fast enough.
--
Stefan Huelswitt
huels@iname.com | http://home.pages.de/~nathan
--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index