Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Multimedia control doesn't want to play some audio files.
Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Silent Avenger




PostPosted: Thu Sep 21, 2006 9:27 pm   Post subject: Multimedia control doesn't want to play some audio files.

Okay I'm trying to make an audio player and I'm using the multimedia control to play the audio files. I got the program to the point where it'll play audio files. I started testing it with a .wav file and it worked fine but once I've started playing different .wav files and the multimedia control for some reason plays some files and not others. Can anyone help? Thanks in advanced.
Sponsor
Sponsor
Sponsor
sponsor
RGB255




PostPosted: Mon Sep 25, 2006 8:55 pm   Post subject: (No subject)

Well I'm fairly new to programming but couldn't it be because the multimedia control doesn't have some of the codecs that a regular media player would?
Silent Avenger




PostPosted: Mon Sep 25, 2006 9:05 pm   Post subject: (No subject)

Yes I figured that out but do you happen to know how to get codecs for the control?
RGB255




PostPosted: Mon Sep 25, 2006 9:19 pm   Post subject: (No subject)

No sorry I don't know how to do that but I can ask my teacher tomorrow if he knows.
Silent Avenger




PostPosted: Mon Sep 25, 2006 10:02 pm   Post subject: (No subject)

Thanks for your help, it's greatly appreaciated.
RGB255




PostPosted: Tue Sep 26, 2006 7:51 pm   Post subject: (No subject)

Well I asked my teacher and well he has no clue how to do that. We just got VB at our school so he doesn't know that much about it.
Silent Avenger




PostPosted: Tue Sep 26, 2006 8:08 pm   Post subject: (No subject)

Okay thanks for you help. I'll try to find another way to play the audio files.
NikG




PostPosted: Tue Sep 26, 2006 10:02 pm   Post subject: (No subject)

I'm not positive but here's my theory.

If you just go about updating the codecs for the windows media player on your computer, this might make those that dont play work on your vb project as well.

But I might be wrong because the media player control in vb may be separate from the one on your computer and may be un-updatable.
Sponsor
Sponsor
Sponsor
sponsor
Silent Avenger




PostPosted: Wed Sep 27, 2006 6:35 am   Post subject: (No subject)

Well I'm sure that I have all the latest codecs because my computer auto updates all of my programs. Besides I can still play the same audio files in all my other programs such as media player, real player and iTunes but I just can't play the files using the VB multimedia control.
NikG




PostPosted: Wed Sep 27, 2006 8:52 pm   Post subject: (No subject)

Well then it's probably my second guess: that media player control is separate, which means I don't think it's updatable.

Try searching the internet, someone may have created an alternative or up-to-date control.
Silent Avenger




PostPosted: Wed Sep 27, 2006 9:04 pm   Post subject: (No subject)

Okay I'll check around the net and thanks for your help.
HazySmoke)345




PostPosted: Sun Oct 15, 2006 11:57 am   Post subject: (No subject)

Before you "open" and "play" the 2nd wave file, did you "stop", and "close" the 1st one?

If you didn't, then it won't work.
Silent Avenger




PostPosted: Sun Oct 15, 2006 6:26 pm   Post subject: (No subject)

Yes I did stop and close the first file before playing the next one. I've got it so it'll play more than one file but sometimes it won't like the file and it won't play it.
Display posts from previous:   
   Index -> Programming, Visual Basic and Other Basics -> Visual Basic Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 13 Posts ]
Jump to:   


Style:  
Search: