BASS_WASAPI_GetDevice

Retrieves the device setting of the current thread.

DWORD BASS_WASAPI_GetDevice();

Return value

If successful, the device number is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_INITBASS_WASAPI_Init has not been successfully called; there are no initialized devices.

See also

BASS_WASAPI_Init, BASS_WASAPI_SetDevice