Olaf van der Spek
2000-Dec-24 08:12 UTC
[vorbis] Using vorbisfile with an in-memory file instead of FILE*
Hi, How can I use vorbisfile when I've already read the data into memory of an OGG file? Olaf van der Spek Almere, Holland Olaf@XCC.TMFWeb.NL http://xcc.tiberian.com/ --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith
2000-Dec-24 14:53 UTC
[vorbis] Using vorbisfile with an in-memory file instead of FILE*
At 05:12 PM 12/24/00 +0100, you wrote:>Hi, > >How can I use vorbisfile when I've already read the data into memory of an >OGG file?Use ov_open_callbacks() and write callbacks which fake reading from a file (while actually reading from memory buffers). vorbisfile is designed for reading from a file, so the interface is a bit messy when you try to do this, but it is possible. Michael --- >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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Tim Waugh
2000-Dec-27 08:26 UTC
[vorbis] Using vorbisfile with an in-memory file instead of FILE*
On Sun, Dec 24, 2000 at 05:12:29PM +0100, Olaf van der Spek wrote:> How can I use vorbisfile when I've already read the data into memory of an > OGG file?fmemopen? Tim. */ <HR NOSHADE> <UL> <LI>application/pgp-signature attachment: stored </UL> -------------- next part -------------- A non-text attachment was scrubbed... Name: part Type: application/octet-stream Size: 233 bytes Desc: not available Url : http://lists.xiph.org/pipermail/vorbis/attachments/20001227/0db6741b/part-0001.obj