Jump to content
  • Advertisement

Archived

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

ShCiPwA

Is it possible to load an mp3 into directsound

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

Is it possible to load an mp3 into directsound? I am useing trent polac''s directsound class and am trying to import an mp3? wavs and mids work but not MP3 Y? Thanx, ShCiPwA ----- ShCiPwA -----

Share this post


Link to post
Share on other sites
Advertisement
I think i have read somewhere that if you make a wav file that is using the mp3 codec direct sound will decode it before playing. I have never actually tried this though.

Share this post


Link to post
Share on other sites
Ummm - check out DirectMedia... (I''ve seen a few game engine''s which use that to decode MP3''s)



-------- E y e .Scream Software --------
----------------------------------------
                                  /-\
    http://www.eyescream.cjb.net | * |
                                  \-/
----------------------------------------

Share this post


Link to post
Share on other sites
You have to use DirectMedia for mp3. I use it for my MP3 class and it works great. You can have it if you want.

Share this post


Link to post
Share on other sites
can you send me your mp3 playing class ?
djsteffe@unity.ncsu.edu


"I pity the fool, thug, or soul who tries to take over the world, then goes home crying to his momma."
- Mr. T

Share this post


Link to post
Share on other sites
*jumps on the bandwaggon*

Could I get a copy of that class too plz Cobra@bigwig.net

Thx :D

~Cobra~

Share this post


Link to post
Share on other sites
Maybe you should consider using FMOD. - it plays every conceivable sound format (including MP3 and ogg vorbis), it's got loads of cool features and it's amazingly easy. I'm a total C++ newbie yet I managed to get a basic MP3 player working in about ten minutes. If anyone here is planning on doing sound stuff, you've got to look into this.

[edit]Damn thing posted twice.[/edit]
_________
"Maybe this world is another planet''s hell." -- Aldous Huxley

Edited by - Lord FlatHead on February 21, 2002 12:56:49 PM

Share this post


Link to post
Share on other sites
if it''s gonna be free you could always use one of the libarys (fmod or bass) to do it

If it aint then you could also look into Ogg Vorbis as that gives the same sound quality at smaller sizes and is totaly free

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!