BASS.NET API for the Un4seen BASS Audio Library

BassMidiBASS_MIDI_InGetDeviceInfo Method (Int32, BASS_MIDI_DEVICEINFO)

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

public static bool BASS_MIDI_InGetDeviceInfo(
	int device,
	BASS_MIDI_DEVICEINFO info
)

Parameters

device
Type: SystemInt32
The device to get the information of... 0 = first.
info
Type: Un4seen.Bass.AddOn.MidiBASS_MIDI_DEVICEINFO
An instance of the BASS_MIDI_DEVICEINFO class to store the information at.

Return Value

Type: Boolean
If successful, then 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