mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
make the leftmost mixer stripable API at least work as advertised
This commit is contained in:
parent
0f4530af0d
commit
e75c713e5e
1 changed files with 3 additions and 2 deletions
|
|
@ -59,6 +59,7 @@ PBD::Signal1<void,StripableNotificationListPtr> ControlProtocol::StripableSelect
|
||||||
|
|
||||||
Glib::Threads::Mutex ControlProtocol::special_stripable_mutex;
|
Glib::Threads::Mutex ControlProtocol::special_stripable_mutex;
|
||||||
boost::weak_ptr<Stripable> ControlProtocol::_first_selected_stripable;
|
boost::weak_ptr<Stripable> ControlProtocol::_first_selected_stripable;
|
||||||
|
boost::weak_ptr<Stripable> ControlProtocol::_leftmost_mixer_stripable;
|
||||||
StripableNotificationList ControlProtocol::_last_selected;
|
StripableNotificationList ControlProtocol::_last_selected;
|
||||||
bool ControlProtocol::selection_connected = false;
|
bool ControlProtocol::selection_connected = false;
|
||||||
PBD::ScopedConnection ControlProtocol::selection_connection;
|
PBD::ScopedConnection ControlProtocol::selection_connection;
|
||||||
|
|
@ -354,14 +355,14 @@ boost::shared_ptr<Stripable>
|
||||||
ControlProtocol::leftmost_mixer_stripable ()
|
ControlProtocol::leftmost_mixer_stripable ()
|
||||||
{
|
{
|
||||||
Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
|
Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
|
||||||
return _first_selected_stripable.lock();
|
return _leftmost_mixer_stripable.lock();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ControlProtocol::set_leftmost_mixer_stripable (boost::shared_ptr<Stripable> s)
|
ControlProtocol::set_leftmost_mixer_stripable (boost::shared_ptr<Stripable> s)
|
||||||
{
|
{
|
||||||
Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
|
Glib::Threads::Mutex::Lock lm (special_stripable_mutex);
|
||||||
_first_selected_stripable = s;
|
_leftmost_mixer_stripable = s;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue