Module: MIDICommunications::Adapter::Windows::Loader Private
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Loader for Windows MIDI devices.
Class Method Summary collapse
-
.inputs ⇒ Array<MIDIWinMM::Input>
private
Returns all available MIDI input devices.
-
.outputs ⇒ Array<MIDIWinMM::Output>
private
Returns all available MIDI output devices.
Instance Method Summary collapse
-
#inputs ⇒ Array<MIDIWinMM::Input>
private
Returns all available MIDI input devices.
-
#outputs ⇒ Array<MIDIWinMM::Output>
private
Returns all available MIDI output devices.
Class Method Details
.inputs ⇒ Array<MIDIWinMM::Input>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns all available MIDI input devices.
18 19 20 |
# File 'lib/midi-communications/adapter/windows.rb', line 18 def inputs ::MIDIWinMM::Device.all_by_type[:input] end |
.outputs ⇒ Array<MIDIWinMM::Output>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns all available MIDI output devices.
24 25 26 |
# File 'lib/midi-communications/adapter/windows.rb', line 24 def outputs ::MIDIWinMM::Device.all_by_type[:output] end |
Instance Method Details
#inputs ⇒ Array<MIDIWinMM::Input>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns all available MIDI input devices.
18 19 20 |
# File 'lib/midi-communications/adapter/windows.rb', line 18 def inputs ::MIDIWinMM::Device.all_by_type[:input] end |
#outputs ⇒ Array<MIDIWinMM::Output>
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns all available MIDI output devices.
24 25 26 |
# File 'lib/midi-communications/adapter/windows.rb', line 24 def outputs ::MIDIWinMM::Device.all_by_type[:output] end |