BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_GetDevice Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves the device setting in the current thread.

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

[DllImportAttribute("bass.dll", CharSet = CharSet.Unicode)]
public static int BASS_GetDevice()

Return Value

Type: Int32
If successful, the device number is returned, else -1 is returned. Use BASS_ErrorGetCodeto get the error code.
Remarks

See also .

ERROR CODEDescription
BASS_ERROR_INITBASS_Init(Int32, Int32, BASSInit, IntPtr, IntPtr) has not been successfully called - there are no initialized devices.

See Also

Reference