Results 1 to 2 of 2

Thread: Music player not working?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800

    Music player not working?

    why doesn't this play? (its not because it closes because it does the same in a windows program)

    PHP Code:
        cout<<"Loading File...."<<endl;
            
    mciSendString ("open C:\lit.mp3 type mpegvideo Alias mpeg"000);  //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...

  2. #2

    Thread Starter
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width