Jump to content
  • Advertisement
Sign in to follow this  
stealth

C++ - Loading Mp3's?

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

Are there libraries or something that I can use to do this? , I wanna be able to load or read the mp3 in and play it while I'm reading it in , something like that , or if anyone can give me a link that discusses mp3's that'd be cool , I wanna be able to use mp3's of different qualities

Share this post


Link to post
Share on other sites
Advertisement
thanks , but I thort FMod only did 128kbps mp3's at the highest rate? , I'll check these out anyway , if theres any more info I can have it'd be appreciated

cheers

Stealth

Share this post


Link to post
Share on other sites
are there no libraries that let me load any mp3 file regardless of quality?.. cause as far as I can see.. well from what I've read FMOD only lets u play 128kbps mp3 files .. I wanna be able to use 192 and all the rest

Share this post


Link to post
Share on other sites
Quote:
Original post by stealth
are there no libraries that let me load any mp3 file regardless of quality?.. cause as far as I can see.. well from what I've read FMOD only lets u play 128kbps mp3 files .. I wanna be able to use 192 and all the rest


I searched the FMOD site and I was unable to find any mention of a restriction on mp3 bit rates (of course that doesn't it doesn't exist). I don't know how committed you are to using to mp3, but as a previous poster suggested you might consider switching to an open codec like Ogg.

Share this post


Link to post
Share on other sites
Further to the other posters comments, I can find no mention of the 128kbits/sec limitation on the FMOD site either. Just fyi.

I've never heard of it being limited in this way. Where are you getting this (mis)information from?

Share this post


Link to post
Share on other sites
The thing with MP3 is that, to use it legally, you have to pay a royalty to even decode the MP3 data (currently it's $0.75 per "unit" that does the decoding). Check out this page to get an idea of what royalties are required if you use MP3 encoding/decoding in PC software applications. If you really want to work with audio data that requires a good compression to quality trade-off that's similar to MP3, check out Ogg Vorbis.

Share this post


Link to post
Share on other sites
lgpl, so you can link with the dll, and keep your project commercial, or whatever.

http://www.lokigames.com/development/smpeg.php3

you'll also need SDL (used for cross platform sound)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!