BASS.NET API for the Un4seen BASS Audio Library

BassBASS_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.17.5
Syntax

[DllImportAttribute("bass")]
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