mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +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
|
#if FMOD_STUDIO
|
||||||
FMOD_ADVANCEDSETTINGS advSettings = {};
|
FMOD_ADVANCEDSETTINGS advSettings = {};
|
||||||
|
advSettings.cbSize = sizeof advSettings;
|
||||||
advSettings.resamplerMethod = resampler;
|
advSettings.resamplerMethod = resampler;
|
||||||
result = Sys->setAdvancedSettings(&advSettings);
|
result = Sys->setAdvancedSettings(&advSettings);
|
||||||
if (result != FMOD_OK)
|
if (result != FMOD_OK)
|
||||||
|
|
Loading…
Reference in a new issue