|
-
Jun 20th, 2012, 09:02 PM
#1
Ways to Play Mp3s
Just found out the hardway that there is no longer support for Direcshow for VB.net and C#. Does anyone know other ways of playing mp3s in VB.net, or even video for that matter? Thanks in advance.
-
Jun 20th, 2012, 09:20 PM
#2
Re: Ways to Play Mp3s
WMP or some third-party media component or else the Windows API via mciSendString.
-
Jun 20th, 2012, 09:36 PM
#3
Re: Ways to Play Mp3s
Just like in vb6.....hmmmm
-
Jun 20th, 2012, 11:09 PM
#4
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
-
Jun 20th, 2012, 11:57 PM
#5
Re: Ways to Play Mp3s
I've never used it but there is XNA. I believe that it's basically a wrapper around DirectX, although there may be more to the story than that. That said, I'm not sure it's of use if you want to integrate music into a business app. I think that you have to create an XNA application rather than being able to reference some XNA library or libraries in a WinForms app or the like. It may be worth a bit of a search though.
-
Jun 21st, 2012, 12:11 AM
#6
Re: Ways to Play Mp3s
Thanks for your help guys.
-
Jun 21st, 2012, 12:23 AM
#7
Re: Ways to Play Mp3s
I just did a quick search and found some examples of using XNA in WinForms. The couple I looked at focused on graphics but I'd imagine that sound would be handled similarly.
-
Jun 21st, 2012, 02:20 AM
#8
Re: Ways to Play Mp3s
No XNA is strictly graphics and maybe sound, just like DirectX. Never used XNA for sound before anyways. But I highly doubt Mp3s are the sounds you can play. Just wavs.
-
Jun 21st, 2012, 02:51 AM
#9
Re: Ways to Play Mp3s
 Originally Posted by Jacob Roman
No XNA is strictly graphics and maybe sound.
I'm afraid this is not true. XNA handles sound, cam, etc too. However sound and sound effects is done via WAV.
You are right with MP3. You have to use the WMP.
-
Jun 21st, 2012, 09:40 AM
#10
Re: Ways to Play Mp3s
 Originally Posted by namrekka
I'm afraid this is not true. XNA handles sound, cam, etc too. However sound and sound effects is done via WAV.
I Just said that
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|