AUDIO_RESAMPLING_MODE
Description:
[ CCode ( cname = "SDL_HINT_AUDIO_RESAMPLING_MODE" ) ]
public const string AUDIO_RESAMPLING_MODE
A variable controlling speed/quality tradeoff of audio resampling.
If available, SDL can use libsamplerate to handle audio resampling. There are different resampling modes available that produce different levels of quality, using more CPU.
If this hint isn't specified to a valid setting, or libsamplerate isn't available, SDL will use the default, internal resampling algorithm.
Note that this is currently only applicable to resampling audio that is being written to a device for playback or audio being read from a device for capture. SDL_AudioCVT always uses the default resampler (although this might change for SDL 2.1).
This hint is currently only checked at audio subsystem initialization.
This variable can be set to the following values:
- "0" or "default" - Use SDL's internal resampling (Default when not set - low quality, fast)
- "1" or "fast" - Use fast, slightly higher quality resampling, if available
- "2" or "medium" - Use medium quality resampling, if available
- "3" or "best" - Use high quality resampling, if available