PDA

View Full Version : libogg and C++



dodle
December 11th, 2010, 03:28 AM
Does anyone know of a good libogg/C++ tutorial? I am going over the documentation on xiph.org (xiph.org/ogg/doc/libogg), but a tutorial would be very helpful. I have a project that uses WAV files but I would like to switch to OGG due to its smaller size.

dodle
December 12th, 2010, 02:36 AM
Okay, maybe a better question would be: How do I play an OGG in C++? Do I need to use gstreamer?

saulgoode
December 12th, 2010, 09:03 AM
Have you examined the C code in the project's example reference decoder (http://svn.xiph.org/trunk/vorbis/examples/decoder_example.c) (the comments are effectively a tutorial)?

dodle
December 14th, 2010, 01:45 AM
Thank you, that should prove very helpful.