Sign in to follow this  

How can i load OGG files with DirectSound?

This topic is 4519 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Yes, DirectSound can play only PCM wave data. If you want to play ogg with DirectSound you should download ogg vorbis sdk and program your own decoding routine.

Share this post


Link to post
Share on other sites
If you're not limited to using just DirectSound, you could download FMod or OpenAL. Both of those support the OGG Vorbis audio format.

EDIT: Personally, I would use those instead of trying to write my own decoding routines. Why try and redo something that's already been done by a professional? Especially if it's available to use for free!

Share this post


Link to post
Share on other sites
Sign in to follow this