Unit test all RegionEquivalence options
[ardour.git] / session_utils / common.cc
index 86e945f616387e190ef3f7708690f9babb8fb212..3d197181cd037d756200c26682962692055fff80 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ * Copyright (C) 2015-2017 Robin Gareus <robin@gareus.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
 #include <iostream>
 #include <cstdlib>
 #include <glibmm.h>
@@ -139,8 +157,6 @@ static Session * _load_session (string dir, string state)
                return 0;
        }
 
-       init_post_engine ();
-
        if (engine->start () != 0) {
                std::cerr << "Cannot start Audio/MIDI engine\n";
                return 0;
@@ -194,8 +210,6 @@ SessionUtils::create_session (string dir, string state, float sample_rate)
                return 0;
        }
 
-       init_post_engine ();
-
        if (engine->start () != 0) {
                std::cerr << "Cannot start Audio/MIDI engine\n";
                return 0;