Sign in to follow this  
supamike

playing mp3s using direct sound/music

Recommended Posts

Hey, i'm using direct sound (dx9 native) to add sounds and music into my game, however of course it can only play .wav or .midi files. Is there any way to load mp3 files into dsound? i had a look on google and found that you can do it through managed dx using AudioVideoPlayback but this isn't available in unmanaged dx9 (to the best of my knowledge). Any ideas? this'd clearly reduce the size of my game if i didn't have 30mb .wav files for the background music.

Share this post


Link to post
Share on other sites
To play mp3's with DirectX, you should use DirectShow. Just do a google search on how to play mp3's with directshow. It is a fair amount of coding, but it is useful if you want the mp3 format in your game or application.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this