|
-
Nov 5th, 2002, 04:37 PM
#1
Thread Starter
Sleep mode
playing MP3 by DX
HI guys ,
I know how to play wav files using DirectX but I need to know how to play MP3 by DirectX.????
Regards
-
Nov 5th, 2002, 07:38 PM
#2
Good Ol' Platypus
Use DirectShow. Or, better yet, use the excellent FMOD:
http://www.fmod.org/.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 5th, 2002, 07:54 PM
#3
Thread Starter
Sleep mode
thanx anyway, but I want to code that myself.
any idea
-
Nov 5th, 2002, 08:06 PM
#4
Thread Starter
Sleep mode
if more thing - If I want to use FMOD with VB.NET , does it support that ?
thanx a lot
-
Nov 5th, 2002, 09:34 PM
#5
Good Ol' Platypus
Yes it does, you have to run fmod.bas through the VB6->VB.NET convertor though.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 6th, 2002, 08:34 AM
#6
Thread Starter
Sleep mode
very grateful
-
Nov 6th, 2002, 10:31 AM
#7
Member
Reference the DX activemovie control.
code:-----------------------------------------------------------------------------
Option Explicit
Private BackgroundC As FilgraphManager
Private BackgroundA As IBasicAudio
Set BackgroundC = New FilgraphManager
Set BackgroundA = BackgroundC
BackgroundC.RenderFile (App.Path & "\night.mp3")
BackgroundA.Volume = Slider1.Value
'Options
BackgroundC.Run
BackgroundA.Volume = Slider1.Value ' 0 to -10000
' 0 is max (WEIRD)
BackgroundC.Stop
-
Nov 6th, 2002, 12:23 PM
#8
Thread Starter
Sleep mode
wait wait Mr.Sastraxi
Did you say "Use DirectShow"??? Isn't this do with Graphics.I'm messing up
If so , why I don't use DirectSound???
-
Nov 6th, 2002, 03:58 PM
#9
Member
Filter graphics
Easy but not necessaly the best...
I use it because it works with almost everything
-
Nov 6th, 2002, 04:18 PM
#10
Good Ol' Platypus
DirectSound doesn't utilise the DirectShow filters used by Media Player to play Mp3 and Wma files (or maybe OGG, AAC files with downloaded filters). Using DirectShow will do this, but I find FMod to be 'lighter' and more responsive.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Nov 7th, 2002, 04:05 PM
#11
Thread Starter
Sleep mode
got it . Thanx all
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
|