BASS WAS API

BASS_WASAPI_Free


Frees the device.

BOOL BASS_WASAPI_Free();

Return value

If successful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_INITBASS_WASAPI_Init has not been successfully called.

Remarks

This function should be called for all initialized devices before the program closes. Freed devices do not need to have been stopped with BASS_WASAPI_Stop beforehand.

When using multiple devices, the current thread's device setting (as set with BASS_WASAPI_SetDevice) determines which device this function call applies to.

See also

BASS_WASAPI_Init