I get this error message when I try to get the DriverNumber: “Error trying to allocate a channel”

This delphi code generates the error:

FMOD_System_SetOutput(fSoundSystem, FMOD_OUTPUT_AUTODETECT);
FMOD_System_SetDriver(fSoundSystem, 0);
FMOD_System_Init(fSoundSystem, 16, 16, FMOD_INIT_GLOBALFOCUS, nil);

ErrorCheck(FMOD_System_GetNumDrivers (fSoundSystem, fDriverCount));

If I get the DriverInfo before FMOD_System_Init it works fine. It’s easy to work around it, but I thought I’d mention it anyway.

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.