diff --git a/base/plugins.cpp b/base/plugins.cpp index cb9d172d0b2..c3ee99e6b64 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -116,7 +116,6 @@ public: #endif #if defined(MACOSX) LINK_PLUGIN(COREAUDIO) - LINK_PLUGIN(COREMIDI) #endif #ifdef USE_FLUIDSYNTH LINK_PLUGIN(FLUIDSYNTH) @@ -141,6 +140,11 @@ public: #if defined(USE_TIMIDITY) LINK_PLUGIN(TIMIDITY) #endif + #if defined(MACOSX) + // Keep this at the end of the list - it takes a long time to enumerate + // and is only for hardware midi devices + LINK_PLUGIN(COREMIDI) + #endif return pl; }