Posted By
Message
Heart Break Kid
Registered 13/05/2003
Points 1754
25th February, 2006 at 07:26:59 -
Can we play mp3 files in TGF , even by extension or something?
(\__/)
(='.'= This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.
Klik with the kid!
X_Sheep I had a custom rating before it was coolRegistered 01/03/2004
Points 1313
25th February, 2006 at 07:54:52 -
Yes, the DMC2 object can play MP3 files.
a/n
Heart Break Kid
Registered 13/05/2003
Points 1754
25th February, 2006 at 08:07:31 -
This Object is FULL OF technical lingo ... I just want to play a MP3 as soon as the level starts .. How do i do that? Edited by the Author.
(\__/)
(='.'= This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.
Klik with the kid!
David Newton (DavidN) InvisibleRegistered 27/10/2002
Points 8322
25th February, 2006 at 09:36:14 -
DMC2 works by first loading files, then playing them, rather than both at the same time as in the MMF sound handling.
Start of Frame:
+ InitialiseBASS()
+ Open stream "./wherever/something.mp3"
+ Play stream
End of Frame/End of Application
+ Close stream
+ TerminateBASS()
The "end of" events are important, as otherwise the DMC2 will attempt to keep playing even though your application is closed, sometimes resulting in a crash.
http://www.davidn.co.nr - Games, music, living in America
Heart Break Kid
Registered 13/05/2003
Points 1754
26th February, 2006 at 03:46:09 -
thanks worked! .. but .. can we also do all that stuff like increasing or decreasing bass/tremble!!?? Edited by the Author.
(\__/)
(='.'= This is Bunny. Copy and paste Bunny into ur
(")_(")signature to help him gain world domination.
Klik with the kid!