The docs list the C signature as
FMOD_RESULT F_CALLBACK FMOD_FILE_ASYNCDONE_FUNC(
FMOD_ASYNCREADINFO *info,
FMOD_RESULT result
);
but in actuality the callback returns void
. The typedef
in the header is (line breaks inserted by me)
typedef
void
(F_CALL *FMOD_FILE_ASYNCDONE_FUNC)
(FMOD_ASYNCREADINFO *info, FMOD_RESULT result);