Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
I am doing project on sdk audio player. I am now suceed to write code to support song of .wav files but i dont know code of running .mp3/.mp4 file so it u know anything about it then please tell me.. i just need it now....
Posted
Updated 11-Mar-12 23:21pm
v2

1 solution

The playback of MP3 and other format need decoding the audio and then pushing the decoded data to the sound card. that is too much of an application developer.

I suggest you can use some of the existing SDKs for doing this.

1. On windows you can use the WMPSDK which will take care of playing other major formats (provided the codec for the format is available on the system)

2. you can use DirectX to play a lot of formats.

3. The 2rd one is libvlc. I have not used it personally(i am planning to) but it seems it could also be used for audio playback. there are some managed wrappers available for it too.
 
Share this answer
 

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