diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-10 20:51:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-12-10 20:51:35 +0000 |
commit | 6ab765e8fab08b186aa77e3ac01c33e0dbfc1ba1 (patch) | |
tree | 13194e8d83857558ebd20e720139d0b7bf699a9b /libs | |
parent | 2f350c491e3bc22fe79bdec0ee67b773b0fd2009 (diff) |
add solo isolate indicator in editor route list
git-svn-id: svn://localhost/ardour2/branches/3.0@6343 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/route.h | 2 | ||||
-rw-r--r-- | libs/ardour/route.cc | 4 | ||||
-rw-r--r-- | libs/midi++2/port.cc | 13 |
3 files changed, 14 insertions, 5 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index 44073a07a7..92a3c8c6b8 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -130,7 +130,7 @@ class Route : public SessionObject, public AutomatableControls, public RouteGrou */ void set_solo (bool yn, void *src); - bool soloed () const {return self_soloed () || soloed_by_others (); } + bool soloed () const { return self_soloed () || soloed_by_others (); } bool soloed_by_others () const { return !_solo_isolated && _soloed_by_others; } bool self_soloed () const { return _self_solo; } diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index 3bc7591251..0bf43fdcc5 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -631,8 +631,6 @@ Route::set_solo_isolated (bool yn, void *src) bool changed = false; - cerr << _name << " Solo isolated was " << _solo_isolated << endl; - if (yn) { if (_solo_isolated == 0) { changed = true; @@ -645,8 +643,6 @@ Route::set_solo_isolated (bool yn, void *src) } } - cerr << "\tnow " << _solo_isolated << endl; - if (changed) { set_delivery_solo (); solo_isolated_changed (src); diff --git a/libs/midi++2/port.cc b/libs/midi++2/port.cc index 5fe2016587..6694249b61 100644 --- a/libs/midi++2/port.cc +++ b/libs/midi++2/port.cc @@ -167,6 +167,19 @@ Port::get_state () const node->add_property ("mode", PortFactory::mode_to_string (_mode)); node->add_property ("type", get_typestring()); +#if 0 + byte device_inquiry[6]; + + device_inquiry[0] = 0xf0; + device_inquiry[0] = 0x7e; + device_inquiry[0] = 0x7f; + device_inquiry[0] = 0x06; + device_inquiry[0] = 0x02; + device_inquiry[0] = 0xf7; + + write (device_inquiry, sizeof (device_inquiry), 0); +#endif + return *node; } |