Module: UniMIDI::Adapter::AlsaRawMIDI::Loader

Defined in:
lib/unimidi/adapter/alsa-rawmidi.rb

Class Method Summary collapse

Class Method Details

.inputsArray<AlsaRawMIDI::Input>

Returns:

  • (Array<AlsaRawMIDI::Input>)


12
13
14
# File 'lib/unimidi/adapter/alsa-rawmidi.rb', line 12

def inputs
  ::AlsaRawMIDI::Device.all_by_type[:input]
end

.outputsArray<AlsaRawMIDI::Output>

Returns:

  • (Array<AlsaRawMIDI::Output>)


17
18
19
# File 'lib/unimidi/adapter/alsa-rawmidi.rb', line 17

def outputs
  ::AlsaRawMIDI::Device.all_by_type[:output]
end