Fixed 'Could not set resampler method. Defaults will be used. (Error 31)' message with FMOD Studio API

This commit is contained in:
alexey.lysiuk 2016-09-06 11:34:15 +03:00 committed by Christoph Oelckers
parent a2a1d2a36d
commit 764705a8e0
1 changed files with 1 additions and 0 deletions

View File

@ -971,6 +971,7 @@ bool FMODSoundRenderer::Init()
#if FMOD_STUDIO
FMOD_ADVANCEDSETTINGS advSettings = {};
advSettings.cbSize = sizeof advSettings;
advSettings.resamplerMethod = resampler;
result = Sys->setAdvancedSettings(&advSettings);
if (result != FMOD_OK)