[vorbis] Jerkiness in player on some songs

Olaf van der Spek Olaf at XCC.TMFWeb.NL
Sat Jul 7 13:43:35 PDT 2001



----- Original Message -----
From: "Monty" <xiphmont at xiph.org>
To: <vorbis at xiph.org>
Sent: Saturday, July 07, 2001 7:57 PM
Subject: Re: [vorbis] Jerkiness in player on some songs

>
> > LANCE:
> > I don't double buffer, I find out how much is left in the directx
buffer,
> > and fill that, calling ov_read multiple times if necessary.
>
> That sounds like a sensible way to do it; the directx buffer is
> providing the second ['double'] buffer.

Isn't it a round buffer instead of a double buffer?

>
> However, it seems that if the directx buffer is totally empty, the
> wrong thing to do is to fill it completely (you end up starving the
> audio harware while you're busy trying to top off a large buffer).

Don't you first fill the buffer, then start playing?

> Filling more than half of the total buffer at a time is probably a
> mistake.

I think you normally try to keep the buffer nearly full, but why is it bad
to fill more then 50% if necessary?

>
> Monty
>
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.
>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list