Frees all resources used by the output device, including all its samples, streams and MOD musics.
If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
|BASS_ERROR_INIT||BASS_Init has not been successfully called.
This function should be called for all initialized devices before the program closes. It is not necessary to individually free the samples/streams/musics as these are all automatically freed by this function.
When using multiple devices, the current thread's device setting (as set with BASS_SetDevice) determines which device this function call applies to.