mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 00:21:35 +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