Browse Source

macOS: Fixed a typo in the CoreMIDI code when creating device names

tags/2021-05-28
ed 5 years ago
parent
commit
50f90fd61a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_devices/native/juce_mac_CoreMidi.cpp

+ 1
- 1
modules/juce_audio_devices/native/juce_mac_CoreMidi.cpp View File

@@ -630,7 +630,7 @@ std::unique_ptr<MidiOutput> MidiOutput::createNewDevice (const String& deviceNam
if (CHECK_ERROR (err))
{
auto deviceIdentifier = createUniqueIDForMidiPort (deviceName, true);
auto deviceIdentifier = createUniqueIDForMidiPort (deviceName, false);
if (CHECK_ERROR (MIDIObjectSetIntegerProperty (endpoint, kMIDIPropertyUniqueID, (SInt32) deviceIdentifier)))
{


Loading…
Cancel
Save