Firstly I'd like to acknowledge Lachie Dazdarian's tutorial on fmod, personally it helped me learn about 'volume'.
It's:
--------------------------------------------------------------------------------
http://lachie.phatcode.net/Downloads/Us ... torial.zip
But my question is; is there a list of fmod commands, like reserve words? I cant find one, the reason i ask is because i realise that in some things with fmod you can do things like FMOD_LOOP_NORMAL (that is probably not exactly correct) to loop a song, and MEPGACCURATE or something to play a song once but i want to play a song once then play a next one, so is there a way to tell if a song has finished? (I use a populated list of mp3s in a directory)
fmod commands
-
- Posts: 360
- Joined: Jun 07, 2005 20:59
- Location: england, somewhere around the middle
- Contact:
Is this what you're after?
http://www.fmod.org/docs/
http://www.fmod.org/docs/
maybe
Hexadecimal Dude! wrote:Is this what you're after?
http://www.fmod.org/docs/
I'm not sure, that does look really helpful, i didnt look at everything but i couldnt find it there yet, when i posted my question i was on another pc and couldnt see my code or remember exactly what it was but the line inparticular i'm using is:
stream = FSOUND_Stream_Open( mp3table(currsong), FSOUND_loop_NORMAL, 0, 0 )
Where 'FSOUND_LOOP_NORMAL' is, is where i think it should be put, to go to the next song.
Thanks
Umm I'm not sure what 'FSOND_IsPlaying' does?
Re: maybe
toneboy wrote:Umm I'm not sure what 'FSOND_IsPlaying' does?
And was an answer to:Returns if the channel is currently playing or not.
:)so is there a way to tell if a song has finished?
But if your using FMUSIC... look at:
FMUSIC_IsFinished
Returns whether the song has completed playing, or when the last order has finished playing.
This stays set even if the song loops.
oh cool
Oh awesome, i found an example of it on the net and yeah i got it (FSOUND_IsPlaying(int channel)) working, that FMOD website that Hexadecimal Dude posted is helpfull too.
thanks everybody
thanks everybody