Does anyone have a code samples in C++ to play the ogg files. I can’t find anything anywhere. I was hoping this could be shared since it seems as though you decode the file and read the byte stream. I can’t find anything windows api shortcuts. Help! --- >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-dev-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.
On Sat, 31 Mar 2001, Matt Fury wrote:> Does anyone have a code samples in C++ to play the ogg files. I can’t > find anything anywhere. I was hoping this could be shared since it seems > as though you decode the file and read the byte stream. I can’t find > anything windows api shortcuts. Help!Why not use ogg123 as an example. It's standard c, rather than c++, but that shouldn't matter much. I think I've actualy compiled ogg123 w/ a c++ compiler, though I had to change a couple of lines due to poorly chosen variables (e.g. 'this'). David --------------------------------------------------------------------- Check out my weekly web comic: http://www.techmagazine.org --- >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-dev-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.
On Sat, Mar 31, 2001 at 07:40:15PM -0500, Matt Fury wrote:> Does anyone have a code samples in C++ to play the ogg files. I can’t find > anything anywhere. I was hoping this could be shared since it seems as > though you decode the file and read the byte stream. I can’t find anything > windows api shortcuts. Help!http://muse.dyne.org is a c++ application coming with the source. pecifically have a look in inchannels.cpp|.h for the OggChannel class, inheriting some common behaviour from the Channel virtual class. please note this sourcecode is GPL, you may use it in your app at the cost of releasing it GPL'd too. -- jrml ..//korova.dyne.org 6EEE 4FB2 2555 7ACD 8496 AB99 E2A2 93B4 6C62 4800 --- >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-dev-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.