BASS_GetDevice

Retrieves the device setting of the current thread.

DWORD BASS_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_Init has not been successfully called; there are no initialized devices.

See also

BASS_ChannelGetDevice, BASS_Init, BASS_SetDevice