How to play MP3? OpenGL and DirectX

Started by
11 comments, last by Scourage 17 years, 11 months ago
If you are selling / shipping anything which decodes mp3, you DO have to buy it ... mp3 is a patented technology, hence the reason why MS bothered to make WMA, apple made AAC (although that also had some other reasons) and the free speech community made Ogg Vorbis.
Advertisement
Audiere is another option.
Rob Loach [Website] [Projects] [Contact]
I'm assuming you are using a windows platform. If you don't go the DirectShow route, there are a couple of libraries that will decode an MP3 into a buffer for you to push to your sound card (again assuming you have buffers for that up and running).

Here are some libraries which can decode MP3: (Yeah Google!)

FFMPEG http://ffmpeg.sourceforge.net/index.php
MAD http://www.underbit.com/products/mad/
FMOD http://www.fmod.org/
BASS http://www.un4seen.com/

They differ in licensening and ease of use. I like FFMPEG, but thats the one that use (for linux) so I can't speak about the others.


Cheers,

Bob

[size="3"]Halfway down the trail to Hell...

This topic is closed to new replies.

Advertisement