DeviceInfo
A wrapper around a LibPortMIDI::DeviceInfo struct. Consider instances to
be snapshots, because their instance variables do not change over time. For
example, the value of #opened? will not change when the corresponding
device is opened.
To get a fresh instance call PortMIDI#get_device_info.
Constructors
new(di : LibPortMIDI::DeviceInfo)
SourceInstance methods
interface
Sourcename
Sourceopened?
Returns true if this device is opened. As noted in the class comment,
this is a snapshot: the value will not change when the device is opened
or closed.
version
Source