Jump to content
  • Advertisement
Sign in to follow this  
mojtaba_e

How can i load OGG files with DirectSound?

This topic is 4678 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

Advertisement
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  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!