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 ??
- aduan asked 9 years ago
- You must login to post comments