BASS.NET API for the Un4seen BASS Audio LibraryBassWasapiBASS_WASAPI_Free Method BASS.NET API for the Un4seen BASS Audio Library
Frees the Wasapi device/driver (endpoint).

Namespace: Un4seen.BassWasapi
Assembly: Bass.Net (in Bass.Net.dll) Version:

public static bool BASS_WASAPI_Free()

Return Value

Type: Boolean
If successful, then is returned, else is returned. Use BASS_ErrorGetCode to get the error code.

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(Boolean) beforehand.

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

See Also