Advertisement

Using MP3s with DirectSound

Started by July 14, 2001 02:59 AM
0 comments, last by kieren_j 23 years, 7 months ago
Hi, wondering how I can play MP3 files using DirectX in a way that works with DirectSound. I know that I can use DirectShow, but as far as I can tell, I can''t play sounds using DirectSound at the same time as this - and I want the MP3s as background music. Is there a way to tell DirectShow to use a DirectSound object? Can I create a DirectMusic object and link it in, in a way similar to this? How? Thanks

Direct Sound has no built in support for mp3 files.

However you CAN use direct show and play an mp3 as background music. While this is playing you can also play regular sounds with direct sound. Direct Show plays the MP3 file in a seperate thread, so it doesn''t interfear with direct sounds normal routines.
Joseph FernaldSoftware EngineerRed Storm Entertainment.------------------------The opinions expressed are that of the person postingand not that of Red Storm Entertainment.

This topic is closed to new replies.

Advertisement