midiator 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- 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
|