BASS

BASS_CONFIG_SRC_SAMPLE config option


The default sample rate conversion quality for samples.

BASS_SetConfig(
    BASS_CONFIG_SRC_SAMPLE,
    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. Other values are also accepted.

Remarks

This config option determines what sample rate conversion quality a new sample channel will initially have, following a BASS_SampleGetChannel call. The channel's sample rate conversion quality can subsequently be changed via the BASS_ATTRIB_SRC attribute.

The default setting is 0 (linear interpolation).

Platform-specific

This option is not available on Windows.

See also

BASS_GetConfig, BASS_SetConfig, BASS_ATTRIB_SRC, BASS_CONFIG_SRC