Jump to content
  • Advertisement

Archived

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

Dip2K

[Q] How can I Play the MP3 ?

This topic is 6495 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 runned NeHe Project, "Lights".. The Project played MP3 ... How Can It Play the MP3? I use VC++.. Thanks you and sorry for my unskilled english..

Share this post


Link to post
Share on other sites
Advertisement
OR!! If you''re feeling up to a challenge and don''t care how long it takes and can put your other project on the side for a moment, you could make your own decompressor/player using the file index provided by www.wotsit.org.... (at least I think that''s it...) It''s a little hard to understand, but with a little (ok, maybe a lot) of fiddling around you can get it to work.

S.

Share this post


Link to post
Share on other sites
Check this out, yo:

http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-DirectShowMP3&forum=cotd&id=-1

Share this post


Link to post
Share on other sites
I finally got the link above to work

http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-DirectShowMP3&forum=cotd&id=-1

With the following modifications necessary as well:

mp3.h:

replaced:
#include

with:
#include
#include
#include
#include

also: Strmiids.lib Uuid.lib need to go into your project settings link(tab) libraries

Then I was able to use it.

It was no cakewalk for me to figure all this out, so I thought I would share with anybody else.

Also, you have to download the Windows Media SDK (specifically windows media streaming I think, but I downloaded a lot of different stuff .. so not totally sure how much of it''s being used and/or what is absolutely required as far as MicroSoft SDK packages).

wmsdk I think is the most important one.

--
- Aaron (the newbee wanna be)

Share this post


Link to post
Share on other sites
Damn HTML interpreter .. here''s those files that got lost from the > and < being interpreted by html.

And since I know it allows interpeting HTML, I''ll give you a
few links:

http://www.flipcode.com/cgi-bin/msg.cgi?showThread=COTD-DirectShowMP3&forum=cotd&id=-1

And here''s a link to my latest creation if you want to check it out:

amh_star


mp3.h:

replaced:
#include >streams.h<

with:
#include >strmif.h<
#include >Control.h<
#include >evcode.h<
#include >Uuids.h<
--
- Aaron (the newbee wanna be)

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!