PDA

Click to See Complete Forum and Search --> : Music player not working?


SteveCRM
Apr 24th, 2001, 10:14 PM
why doesn't this play? (its not because it closes because it does the same in a windows program) :mad:


cout<<"Loading File...."<<endl;
mciSendString ("open C:\lit.mp3 type mpegvideo Alias mpeg", 0, 0, 0); //opens file
cout<<"File Loaded...."<<endl;
cout<<"Playing File...."<<endl;
//mciSendString ("Play mpeg from 0", 0, 0, 0); //play file
mciSendString("Play mpeg from 0", 0,0,0);
cout<<"File Played...."<<endl;


why won't it play? that is a valid file...

SteveCRM
Apr 25th, 2001, 12:54 AM
never mind...works now...

if you want it i uploaded it...just one problem, during testing it's only set to a file on my computer... C:\lit.mp3 so put an mp3 there and it will play that...sorry its still in beta (veeeeery early beta, actually just testing it out in alpha ;) ).

download here (http://www.geocities.com/mediaboyonline/mediaboy.zip)