Used with BASS_MIDI_InGetDeviceInfo(Int32, BASS_MIDI_DEVICEINFO) to retrieve information on a MIDI input device.
Inheritance Hierarchy
Un4seen.Bass.AddOn.MidiBASS_MIDI_DEVICEINFO
Namespace: Un4seen.Bass.AddOn.Midi
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
The BASS_MIDI_DEVICEINFO type exposes the following members.
Constructors
Name | Description | |
---|---|---|
BASS_MIDI_DEVICEINFO |
Default constructor.
|
Properties
Name | Description | |
---|---|---|
IsEnabled |
The device is enabled and can be used.
| |
IsInitialized |
The device is already initialized.
|
Methods
Name | Description | |
---|---|---|
ToString |
A description of the decive info object (name).
(Overrides ObjectToString.) |
Fields
Name | Description | |||||
---|---|---|---|---|---|---|
flags |
The device's current status. A combination of these flags (BASSDeviceInfo):
| |||||
id |
An identification number.
| |||||
name |
The name/description of the device.
|
Remarks
On Windows, id consists of a manufacturer identifier in the LOWORD and a product identifier in the HIWORD. This will not uniquely identify a particular device, ie. multiple devices may have the same value. A list of identifiers is available from Microsoft, here. On OSX, id is the device's "kMIDIPropertyUniqueID" property value, which is unique to the device. On Linux, id contains the device's ALSA client ID in the LOWORD and port ID in the HIWORD.
See Also