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

Extended by:
Loader
Included in:
Loader
Defined in:
lib/unimidi/adapter/ffi-coremidi.rb

Instance Method Summary collapse

Instance Method Details

#inputsArray<CoreMIDI::Source>

Returns:

  • (Array<CoreMIDI::Source>)

15
16
17
# File 'lib/unimidi/adapter/ffi-coremidi.rb', line 15

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

#outputsArray<CoreMIDI::Destination>

Returns:

  • (Array<CoreMIDI::Destination>)

20
21
22
# File 'lib/unimidi/adapter/ffi-coremidi.rb', line 20

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