Module: UniMIDI::Adapter::CoreMIDI::Loader

Defined in:
lib/unimidi/adapter/ffi-coremidi.rb

Class Method Summary collapse

Class Method Details

.inputsArray<CoreMIDI::Source>

Returns:

  • (Array<CoreMIDI::Source>)


13
14
15
# File 'lib/unimidi/adapter/ffi-coremidi.rb', line 13

def inputs
  ::CoreMIDI::Endpoint.all_by_type[:source]
end

.outputsArray<CoreMIDI::Destination>

Returns:

  • (Array<CoreMIDI::Destination>)


18
19
20
# File 'lib/unimidi/adapter/ffi-coremidi.rb', line 18

def outputs
  ::CoreMIDI::Endpoint.all_by_type[:destination]
end