[Vorbis] Streaming from memory

Ken Pajala kp at angelfroggames.com
Tue Sep 21 07:40:46 PDT 2004


How would one go about streaming an entire ogg file from memory?  That is,
I'd like to read the entire file right away and then just decode as I go.

I'm currently using the various functions in vorbisfile.c which read from
files but it's causing intermittent stuttering in my game since the calls to
ov_read sometimes experience spikes in return time.  I'm guessing that these
spikes are due to issues with reading from the disk so I'd like to just keep
the ogg files in memory.

Thanks,

::ken pajala::



More information about the Vorbis mailing list