mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
Fixed 'Could not set resampler method. Defaults will be used. (Error 31)' message with FMOD Studio API
This commit is contained in:
parent
a2a1d2a36d
commit
764705a8e0
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue