BASS.NET API for the Un4seen BASS Audio LibraryBassMidiBASS_MIDI_InGetDeviceInfo Method (Int32)BASS.NET API for the Un4seen BASS Audio Library
Retrieves information on a MIDI input device.

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

public static BASS_MIDI_DEVICEINFO BASS_MIDI_InGetDeviceInfo(
	int device
)

Parameters

device
Type: SystemInt32
The device to get the information of... 0 = first.

Return Value

Type: BASS_MIDI_DEVICEINFO
If successful, an instance of the BASS_MIDI_DEVICEINFO class is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

This function can be used to enumerate the available MIDI input devices for a setup dialog.

ERROR CODEDescription
BASS_ERROR_DEVICEThe device number specified is invalid.

Platform-specific

MIDI input is not available on Android.

See Also

Reference