BASS.NET API for the Un4seen BASS Audio LibraryBASS_MIDI_DEVICEINFO ClassBASS.NET API for the Un4seen BASS Audio Library
Used with BASS_MIDI_InGetDeviceInfo(Int32, BASS_MIDI_DEVICEINFO) to retrieve information on a MIDI input device.
Inheritance Hierarchy

SystemObject
  Un4seen.Bass.AddOn.MidiBASS_MIDI_DEVICEINFO

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

[SerializableAttribute]
public sealed class BASS_MIDI_DEVICEINFO

The BASS_MIDI_DEVICEINFO type exposes the following members.

Constructors

  NameDescription
Public methodBASS_MIDI_DEVICEINFO
Default constructor.
Top
Properties

  NameDescription
Public propertyIsEnabled
The device is enabled and can be used.
Public propertyIsInitialized
The device is already initialized.
Top
Methods

  NameDescription
Public methodToString
A description of the decive info object (name).
(Overrides ObjectToString.)
Top
Fields

  NameDescription
Public fieldflags
The device's current status. A combination of these flags (BASSDeviceInfo):
BASS_DEVICE_ENABLEDThe device is enabled. It will not be possible to initialize the device if this flag is not present.
BASS_DEVICE_INITThe device is initialized, ie. BASS_MIDI_InInit(Int32, MIDIINPROC, IntPtr) has been called.
Public fieldid
An identification number.
Public fieldname
The name/description of the device.
Top
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

Reference