Set up IO bundles properly so that mixer strip IO button text is set correctly.
authorCarl Hetherington <carl@carlh.net>
Sun, 2 Aug 2009 00:33:50 +0000 (00:33 +0000)
committerCarl Hetherington <carl@carlh.net>
Sun, 2 Aug 2009 00:33:50 +0000 (00:33 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5454 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/io.cc

index 0d7446e8523a2757bcbfb285a4a600eb5353d690..7a97ce0d6b84fda0acd715d62f66d3ddf617cc21 100644 (file)
@@ -1139,7 +1139,7 @@ IO::setup_bundles ()
         char buf[32];
 
        if (!_bundle) {
-               _bundle.reset (new Bundle (true));
+               _bundle.reset (new Bundle (_direction == Input));
        }
 
        _bundle->suspend_signals ();
@@ -1168,7 +1168,7 @@ BundleList
 IO::bundles_connected ()
 {
        BundleList bundles;
-       
+
        /* User bundles */
        for (std::vector<UserBundleInfo>::iterator i = _bundles_connected.begin(); i != _bundles_connected.end(); ++i) {
                bundles.push_back (i->bundle);