0
0

Hi,
is there any function like
FMUSIC_End_Callback
or how can I "simulate" this func
(I’m working with VCL (Delphi), so
I cannot check every ~100 ms if
one of my X playing music files
is done… – it is time critical for
me)

thanx for answer

  • You must to post comments
0
0

Take a look at the Delphi FMOD sample. It uses a timer to update the music display and check for end of song. You could also do the check in an Application.OnIdle event handler. This is called potentially thousands of times a second if you set the Done parameter to False. It really depends on the particular song though because not all of them ‘end’ in a proper manner. SOme of them jump back to the start before they reach the actual end of the song.

  • You must to post comments
0
0

Now I use the method with timer.
But I want special FMOD API function –
I looked into FMOD help, but there isn’t
any function like i wrote (i hoped, that
anyone know, if I can obtain this proc. from
FMOD.DLL (if there is as "hidden" export)).
Solution:
– add this new function into FMOD.DLL

THANKS

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.