midiator 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/midiator.rb +1 -1
- data/lib/midiator/drivers/core_midi.rb +3 -3
- metadata +1 -1
data/lib/midiator.rb
CHANGED
@@ -59,9 +59,9 @@ class MIDIator::Driver::CoreMIDI < MIDIator::Driver # :nodoc:
|
|
59
59
|
@outport = DL::PtrData.new( nil )
|
60
60
|
C.mIDIOutputPortCreate( @client, port_name, @outport.ref )
|
61
61
|
|
62
|
-
number_of_destinations = C.mIDIGetNumberOfDestinations
|
63
|
-
raise NoMIDIDestinations if number_of_destinations < 1
|
64
|
-
@destination = C.mIDIGetDestination(
|
62
|
+
number_of_destinations = C.mIDIGetNumberOfDestinations
|
63
|
+
raise MIDIator::NoMIDIDestinations if number_of_destinations < 1
|
64
|
+
@destination = C.mIDIGetDestination( 0 )
|
65
65
|
end
|
66
66
|
|
67
67
|
def close
|