Retrieves the recording device setting of the current thread.

DWORD BASS_RecordGetDevice();

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

See also

BASS_ChannelGetDevice, BASS_RecordInit, BASS_RecordSetDevice