BASS_CONFIG_DSD_FREQ config option


The default sample rate when converting to PCM.

BASS_SetConfig(
    BASS_CONFIG_DSD_FREQ,
    DWORD freq
);

Parameters

freqThe sample rate.

Remarks

This setting determines what sample rate is used by default when converting to PCM. The rate actually used may be different if the specified rate is not valid for a particular DSD rate, in which case it will be rounded up (or down if there are none higher) to the nearest valid rate; the valid rates are 1/8, 1/16, 1/32, etc of the DSD rate down to a minimum of 44100 Hz.

The default setting is 88200 Hz. Changes only affect subsequently created streams, not any that already exist.

Platform-specific

On Android and iOS, the default setting is 44100 Hz.

See also

BASS_DSD_StreamCreateFile

BASS_GetConfig, BASS_SetConfig