[vorbis] Windows XP and MP3

fungus spam at egg.chips.and.spam.com
Fri Apr 13 11:36:23 PDT 2001



Segher Boessenkool wrote:
> 
> > I probably have to come up with a work-around for the seek
> > slowness
> 
> You can just lseek() to the position in the stream you need,
> and start decoding there. No need to ov_seek_pcm(). You make
> the streams, so you can know exactly at what byte position
> in the stream your sounds start. No need to seek to a time
> offset. Just precalculate all of this, and store it somewhere
> along with the streams.
> 

That's what I was thinking - do the seek_pcm() beforehand
and store the startup state. Let ogg start decoding from the
next block.

> > game. FWIW, Winamp currently registers aout 5% CPU usage
> > with .ogg files, and 1% with .mp3 files.
> 
> Wow. winamp 1% with mp3? That's an _extremely_ fast processor
> you have, or your method of measurement is not all that
> exact.
> 

Maybe it's because I was just looking at the task manager,
but still, Winamp mp3 oscilates between 0% and 2% while
Winamp ogg is at 5%-6%.

> Added features and speed increase is planned for 1.0.
> 

Cool.


-- 
<\___/>
/ O O \
\_____/  FTB.

--- >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