
-----------------------------------
Silent Avenger
Thu Sep 21, 2006 9:27 pm

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.

-----------------------------------
RGB255
Mon Sep 25, 2006 8:55 pm


-----------------------------------
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
Mon Sep 25, 2006 9:05 pm


-----------------------------------
Yes I figured that out but do you happen to know how to get codecs for the control?

-----------------------------------
RGB255
Mon Sep 25, 2006 9:19 pm


-----------------------------------
No sorry I don't know how to do that but I can ask my teacher tomorrow if he knows.

-----------------------------------
Silent Avenger
Mon Sep 25, 2006 10:02 pm


-----------------------------------
Thanks for your help, it's greatly appreaciated.

-----------------------------------
RGB255
Tue Sep 26, 2006 7:51 pm


-----------------------------------
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
Tue Sep 26, 2006 8:08 pm


-----------------------------------
Okay thanks for you help. I'll try to find another way to play the audio files.

-----------------------------------
NikG
Tue Sep 26, 2006 10:02 pm


-----------------------------------
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.

-----------------------------------
Silent Avenger
Wed Sep 27, 2006 6:35 am


-----------------------------------
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
Wed Sep 27, 2006 8:52 pm


-----------------------------------
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
Wed Sep 27, 2006 9:04 pm


-----------------------------------
Okay I'll check around the net and thanks for your help.

-----------------------------------
HazySmoke)345
Sun Oct 15, 2006 11:57 am


-----------------------------------
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
Sun Oct 15, 2006 6:26 pm


-----------------------------------
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.
