BASS_CONFIG_SRC config option

The default sample rate conversion quality.

BASS_SetConfig(
    BASS_CONFIG_SRC,
    DWORD quality
);

Parameters

qualityThe sample rate conversion quality... 0 = linear interpolation, 1 = 8 point sinc interpolation, 2 = 16 point sinc interpolation, 3 = 32 point sinc interpolation, 4 = 64 point sinc interpolation. Other values are also accepted.

Remarks

This config option determines what sample rate conversion quality new channels will initially have, except for sample channels (HCHANNEL), which use the BASS_CONFIG_SRC_SAMPLE setting. A channel's sample rate conversion quality can subsequently be changed via the BASS_ATTRIB_SRC attribute.

When an SSE supporting CPU is present (also ARM on macOS), the default setting is 2, otherwise it is 1.

See also

BASS_GetConfig, BASS_SetConfig, BASS_ATTRIB_SRC, BASS_CONFIG_SRC_SAMPLE