Session::reconnect_midi_scene_ports() is a Tracks thing.
authorPaul Davis <paul@linuxaudiosystems.com>
Fri, 8 May 2015 19:20:05 +0000 (15:20 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 29 Jun 2015 18:18:11 +0000 (14:18 -0400)
It requires the EngineStateController which is not merged at this time

libs/ardour/session.cc

index f6d04b1be9355551e79c384bba13d88bca955f68..1afec8a89e937db0a5a22e073f971be9d27bc04c 100644 (file)
@@ -2375,6 +2375,8 @@ Session::reconnect_existing_routes (bool withLock, bool reconnect_master, bool r
          */
 }
 
+#ifdef USE_TRACKS_CODE_FEATURES
+
 void
 Session::reconnect_midi_scene_ports(bool inputs)
 {
@@ -2409,6 +2411,7 @@ Session::reconnect_midi_scene_ports(bool inputs)
        }
 }
 
+#endif
 
 /** Caller must not hold process lock
  *  @param name_template string to use for the start of the name, or "" to use "Audio".