FMOD_DSP_RESAMPLER

FMOD Studio API

Firelight Technologies FMOD Studio API

FMOD_DSP_RESAMPLER

List of interpolation types that the FMOD Studio software mixer supports.

C/C++ Syntax

typedef enum {
  FMOD_DSP_RESAMPLER_DEFAULT,
  FMOD_DSP_RESAMPLER_NOINTERP,
  FMOD_DSP_RESAMPLER_LINEAR,
  FMOD_DSP_RESAMPLER_CUBIC,
  FMOD_DSP_RESAMPLER_SPLINE,
  FMOD_DSP_RESAMPLER_MAX
} FMOD_DSP_RESAMPLER;

JavaScript Syntax

FMOD.DSP_RESAMPLER_DEFAULT
FMOD.DSP_RESAMPLER_NOINTERP
FMOD.DSP_RESAMPLER_LINEAR
FMOD.DSP_RESAMPLER_CUBIC
FMOD.DSP_RESAMPLER_SPLINE
FMOD.DSP_RESAMPLER_MAX
FMOD.DSP_RESAMPLER_FORCEINT

Values

FMOD_DSP_RESAMPLER_DEFAULT

Default interpolation method. Currently equal to FMOD_DSP_RESAMPLER_LINEAR.

FMOD_DSP_RESAMPLER_NOINTERP

No interpolation. High frequency aliasing hiss will be audible depending on the sample rate of the sound.

FMOD_DSP_RESAMPLER_LINEAR

Linear interpolation (default method). Fast and good quality, causes very slight lowpass effect on low frequency sounds.

FMOD_DSP_RESAMPLER_CUBIC

Cubic interpolation. Slower than linear interpolation but better quality.

FMOD_DSP_RESAMPLER_SPLINE

5 point spline interpolation. Slowest resampling method but best quality.

FMOD_DSP_RESAMPLER_MAX

Maximum number of resample methods supported.

Remarks

The default resampler type is FMOD_DSP_RESAMPLER_LINEAR.
Use System::setAdvancedSettings and the resamplerMethod member to tell FMOD the resampling quality you require for sample rate conversion during sound playback.

See Also




Version 1.10.03 Built on Feb 1, 2018