BASS_Free

Frees all resources used by the digital output, including all samples, MOD musics, and streams.

void WINAPI BASS_Free();

Remarks
BASS_Free should be called before your program exits. It's not necessary to individually free all the samples/streams/musics as these are all automatically freed by this function.

If you wish to change device settings, having already called BASS_Init, then BASS_Free must be called before calling BASS_Init again. You will also have to re-load/create the samples/streams/musics.

See also
BASS_Init