Archived

This topic is now archived and is closed to further replies.

How can I play Mp3 Files under DirectSound

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

I want to write a Mp3 Mixer for Partys. But my Mixer runs with Wav files, and I want to convert the Mp3 part of the File und play it with the DirectsoundBuffer. Do you knew how i can make this

Share this post


Link to post
Share on other sites
this would probably be very difficult because i think the mp3 format is under a copyright

Share this post


Link to post
Share on other sites
Not exactly. I see a lot of mp3 player around, and even games take advantage of that(Age of Kings)
I recall seeing a post somewhere in the newsgroup on how to do that, but sorry I didn''t take down the link. Try posting at msnews.microsoft.com in the DirectX newsgroup too

If you want a quick and dirty way you can try using DirectMedia''s DirectShow''s components.

Share this post


Link to post
Share on other sites
The trick with MP3''s is that the owners of the copyright have made the format available for everyone to use, as long as they provide any MP3 products for free. If you were to use MP3 in a game you''re selling you have to make the MP3 files available for anyone to download for free. Games like Slave Zero and others have done this in order to use MP3''s.

Or at least thats how I understand it.

Share this post


Link to post
Share on other sites
Could you explain what you mean by mixer? I think, perhaps, that what you would call a mixer and I would call a mixer are two different things.

Share this post


Link to post
Share on other sites
Atavist, you''re not exactly right there.
The mp3 codec is owned by Fraunhofer Institute in Germany. That means you may not distribute decoders or encoders based on that codec without actually licensing it from the copyright owner. Therefore if you want to use mp3 decoding in a commercial product, you have to license it.


___________________________
Markus 'RaVeN' Hastreiter
www.ravenaudio.de

Share this post


Link to post
Share on other sites
If you''re looking for a good MP3 mixer program, BPM-Studio would be the best choice. There''s a version available, that comes for free

Try: www.bpmstudio.com

Share this post


Link to post
Share on other sites