if(FMOD_System_Create(&m_pclSoundSys) != FMOD_OK) goto error;
if(FMOD_System_Init(m_pclSoundSys, MAX_CHANNELS, FMOD_INIT_NORMAL, NULL) != FMOD_OK) goto error;
Then load sounds.
FMOD_Sound_Release(); for all sounds
Then do it all again. The sounds all plays but the output is choppy and in slow motion.
The reason for init/deinit more than once is to be able to save the rendered sound on command with
FMOD_System_SetOutput(m_pclSoundSys, FMOD_OUTPUTTYPE_WAVWRITER); or have output to the speakers.
But no matter how I do it the sound is always wrong the second time (output to speaker or output to file). If I do the WAVWRITER output the first time I init it all sounds ok in the file.
Why? Is it a bug?
Using 4.38.01, but was using 4.34.x before.
- rh_galaxy asked 7 years ago
Please login first to submit.