remove pointless JACK error message; don't add every track as an automatic bundle...
authorPaul Davis <paul@linuxaudiosystems.com>
Tue, 30 Sep 2008 14:34:24 +0000 (14:34 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Tue, 30 Sep 2008 14:34:24 +0000 (14:34 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@3841 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/audioengine.cc
libs/ardour/session.cc

index 1b9962744df1f739f89f4b89e6abdad809d5cf51..3122ff760c71eb22d8378dd213310b039cebe881 100644 (file)
@@ -1212,19 +1212,10 @@ AudioEngine::connect_to_jack (string client_name)
        _jack = jack_client_open (jack_client_name.c_str(), options, &status, server_name);
 
        if (_jack == NULL) {
-
-               if (status & JackServerFailed) {
-                       error << _("Unable to connect to JACK server") << endmsg;
-               }
-               
                // error message is not useful here
                return -1;
        }
 
-       if (status & JackServerStarted) {
-               info << _("JACK server started") << endmsg;
-       }
-
        if (status & JackNameNotUnique) {
                jack_client_name = jack_get_client_name (_jack);
        }
index ed5aea1c376dd8f52a2d322a23c3fa76197515cd..3b9b48a2de1d8f7e9743b187f964e349eb56fcc0 100644 (file)
@@ -1989,8 +1989,12 @@ Session::add_routes (RouteList& new_routes, bool save)
                        _control_out = (*x);
                }
 
-               add_bundle ((*x)->bundle_for_inputs());
-               add_bundle ((*x)->bundle_for_outputs());
+               /* only busses get automatic bundles formed */
+
+               if (!boost::dynamic_pointer_cast<Track> (*x)) {
+                       add_bundle ((*x)->bundle_for_inputs());
+                       add_bundle ((*x)->bundle_for_outputs());
+               }
        }
 
        if (_control_out && IO::connecting_legal) {