[Vorbis-dev] getting started
Sat Jun 26 06:23:40 PDT 2004
>----- Original Message -----
>From: Steve Russell
>To: vorbis-dev at xiph.org
>Sent: Saturday, June 26, 2004 8:22 PM
>Subject: [Vorbis-dev] getting started
>I am giving serious consideration to abandoning waveOut multimedia and the
wav format, for most of the audio in my C++/MFC project. However, I've
never done any >programming with a codec, and I still can't see how to step
into Ogg Vorbis. If I convert all my wav files to ogg, there seem to be two
major issues I'm facing:
>1) What exactly will I replace my waveOut functions with?
>2) What is the best method to absolutely ensure that a user's pc will be
able to play the ogg files?
Depending what you want to do, directshow is probably the best bet... i have
written codecs for the various xiph codec... they are at various stages of
development... vorbis and speex are fairly complete....
You can find the project here...
Once installed any directshow enabled application will be able to play ogg
files. Writing code to use directshow to play audio using directshow is only
like 15 lines. (once the codecs are installed). You basicly create a filter
graph object... tell it to render the file, tell it to play... that's all
you have to do. There's tons of example code in the directx 9 sdk to
programattically play files with directshow.
And the source can be found in the xiph repository here...
More information about the Vorbis-dev