[Vorbis-dev] Reading from memory and ov_open

Jack Moffitt jack at xiph.org
Thu Jun 30 08:18:21 PDT 2005


> Let's suppose that, for whatever reason, I've allocated a block of
> memory, and I've loaded into this memory a perfectly valid ogg vorbis
> file.
> 
> Now I'd like to decode this vorbis data, but I'm stuck calling ov_open()
> because I don't have a FILE*, I have a block of memory. (This may in
> fact be an ignorant stdio question on my part; if so, I apologize). But
> - what do I do?

Use ov_open_callbacks.

jack.


More information about the Vorbis-dev mailing list