Click here to Skip to main content
15,887,135 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello;
Im beginner in C++ and i want to make a program playing MP3 and WAV files at the same time using Directsound but the problem is that Directsound is not able to play MP3 files ? any idea plz
thanks
Posted

1 solution

DirectSound is not capable of playing mp3 audio. Use DirectShow for this purpose.
 
Share this answer
 
Comments
kinani 7-Jun-11 4:56am    
thanks but the problem is that all files ( mp3 and wav ) must be played at the same time and will share some classes ( enumerate sound cards and play each one in a specific device and volume control ) so if i use directsound for WAV and directshow for mp3 is it not possible in these conditions ? thanks
Chandrasekharan P 7-Jun-11 5:53am    
why not use DirectShow for both the files?
kinani 7-Jun-11 6:21am    
hello
because for example in order to enumerate sound card and and volum control and play each sound in a specific sound card i will use directsound so maybe i will have problems using directshow for playing files and directsound for enumerating devices volum control
kinani 12-Aug-11 6:15am    
Hello how can select output device with directshow thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900