BASS_CONFIG_CD_FREEOLD config option

Automatically free an existing stream when creating a new one on the same drive?

BASS_SetConfig(
    BASS_CONFIG_CD_FREEOLD,
    BOOL freeold
);

Parameters

freeoldFree old streams?

Remarks

Only one stream can exist at a time per CD drive. So if a stream using the same drive already exists, stream creation function calls will fail, unless this config option is enabled to automatically free the existing stream. This is enabled by default.

See also

BASS_CD_StreamCreate, BASS_CD_StreamCreateFile

BASS_GetConfig, BASS_SetConfig