I have a problem here :(

When I finish playback non-loop event, the Callback function of this event is not automaticly called ,I should get callback function which type is FMOD_EVENT_CALLBACKTYPE_SOUNDDEF_END,but I get nothing .


is my source code.

In this example,I use FeatureDemonstration/Basics/Oneshot Event。

The main source code is in AudioTestDlg.cpp, the main function is :
afx_msg void OnBnClickedPlay();

afx_msg void OnBnClickedStop();

static FMOD_RESULT F_CALLBACK EventCallback(FMOD_EVENT *event, FMOD_EVENT_CALLBACKTYPE type, void *param1, void

*param2, void *userdata);

This example uses the FMOD’s offical examples.fev , please put it into the Data forder .

Is there something wrong with my code ??


  • You must to post comments

I’ve seen this behaviour in recent versions too; I’m using the Stable and Dev releases, in C# and the End callback does not appear to be fired…


  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.