mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 00:20:38 +00:00
- Disable cubic and spline resamplers on 64-bit with fmod 4.26 since they crash.
This commit is contained in:
parent
2020769967
commit
fa5dfe79ae
1 changed files with 3 additions and 0 deletions
|
@ -212,8 +212,11 @@ static const FEnumList ResamplerNames[] =
|
||||||
{ "No Interpolation", FMOD_DSP_RESAMPLER_NOINTERP },
|
{ "No Interpolation", FMOD_DSP_RESAMPLER_NOINTERP },
|
||||||
{ "NoInterp", FMOD_DSP_RESAMPLER_NOINTERP },
|
{ "NoInterp", FMOD_DSP_RESAMPLER_NOINTERP },
|
||||||
{ "Linear", FMOD_DSP_RESAMPLER_LINEAR },
|
{ "Linear", FMOD_DSP_RESAMPLER_LINEAR },
|
||||||
|
// [BL] 64-bit version of FMOD Ex 4.26 crashes with these resamplers.
|
||||||
|
#if !(defined(_M_X64) || defined(__amd64__)) || !(FMOD_VERSION >= 0x42600 && FMOD_VERSION <= 0x426FF)
|
||||||
{ "Cubic", FMOD_DSP_RESAMPLER_CUBIC },
|
{ "Cubic", FMOD_DSP_RESAMPLER_CUBIC },
|
||||||
{ "Spline", FMOD_DSP_RESAMPLER_SPLINE },
|
{ "Spline", FMOD_DSP_RESAMPLER_SPLINE },
|
||||||
|
#endif
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue