Archived

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

Dip2K

[Q] How can I Play the MP3 ?

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
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
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