The source channel buffer length.
BASS_SetConfig( BASS_CONFIG_MIXER_BUFFER, DWORD length );
|length||The buffer length... 1 to 5 is a multiplier of the BASS_CONFIG_BUFFER setting (at the time of the mixer's creation), otherwise it is an absolute length in milliseconds.|
Larger buffers obviously require more memory, so this should not be set higher than necessary. If a source is played at its default rate, then the buffer only needs to be as big as the mixer's playback buffer, but if it is played at a faster rate, then the buffer needs to be bigger for it to contain the data that is currently being heard from the mixer. For example, playing a channel at 2x its normal speed would require its buffer to be 2x the normal size.
The default setting is 2, for 2x the BASS_CONFIG_BUFFER setting. Changes only affect subsequently set up channel buffers. An existing channel can have its buffer reinitialized by removing and then resetting the BASS_MIXER_BUFFER flag via BASS_Mixer_ChannelFlags.