Skip to content

Commit a9a99a0

Browse files
committed
CoreMidi: Correctly apply protocol conversions for incoming messages
1 parent fa1b4b0 commit a9a99a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/juce_audio_devices/native/juce_CoreMidi_mac.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,12 +2049,12 @@ explicit ConnectionToDst (std::shared_ptr<SharedEndpointsImplNative> e)
20492049
consumer (cb)
20502050
{
20512051
connection->addDisconnectionListener (disconnectListener);
2052-
connection->addConsumer (consumer);
2052+
connection->addConsumer (*this);
20532053
}
20542054

20552055
~InputImplNative() override
20562056
{
2057-
connection->removeConsumer (consumer);
2057+
connection->removeConsumer (*this);
20582058
connection->removeDisconnectionListener (disconnectListener);
20592059
}
20602060

0 commit comments

Comments
 (0)