0
0

hi all.

man! this is more easy then i thought! i already have a littel mod-player. but there’s a problem.

if i play the song, and the song has finished, fmod plays is again at doubble speed or something like that!

how i notice that the song is finished?

FMUSIC_IsFinished(song) returns an long, but i don’t know what to do with it…

  • You must to post comments
0
0

and how i get the full time of an song?

ins’t here anyone with icq & vb?

icq#:77606059

  • You must to post comments
0
0

in the fmod module that you include with your project, you will have to change the IsFinished long return type to a byte data type. Then you will have to nest the call IsFinished to a call to CBool. For example, CBool(FSOUND_IsFinished).

  • You must to post comments
0
0

I wrote the fmod module for Visual Basic. I haven’t used a Boolean as return type because I thought there was a difference between a VB Boolean and a C BOOL.
Is the CBool(Var) really necessary?
I think VB will do this itself when you use it in if statements.
You’re right about the Byte instead of Long though…
I will change it and send it to brett, so it can be included in the next fmod.

  • You must to post comments
0
0

i noticed this pb without having informed you, sorry. Note FMUSIC_IsFinished and FMUSIC_IsPlaying require to return a Byte also.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.