mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-10 07:26:32 +01:00
MCU: update controls when EQ type changes
This commit is contained in:
parent
0742fd8563
commit
0fc28d3872
2 changed files with 11 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ Strip::set_stripable (std::shared_ptr<Stripable> r, bool /*with_messages*/)
|
|||
_stripable->solo_control()->Changed.connect (stripable_connections, MISSING_INVALIDATOR, std::bind (&Strip::notify_solo_changed, this), ui_context());
|
||||
_stripable->mute_control()->Changed.connect(stripable_connections, MISSING_INVALIDATOR, std::bind (&Strip::notify_mute_changed, this), ui_context());
|
||||
|
||||
_stripable->MappedControlsChanged.connect (stripable_connections, MISSING_INVALIDATOR, std::bind (&Strip::notify_eq_type_changed, this), ui_context());
|
||||
|
||||
std::shared_ptr<AutomationControl> pan_control = _stripable->pan_azimuth_control();
|
||||
if (pan_control) {
|
||||
pan_control->Changed.connect(stripable_connections, MISSING_INVALIDATOR, std::bind (&Strip::notify_panner_azi_changed, this, false), ui_context());
|
||||
|
|
@ -346,6 +348,14 @@ Strip::notify_record_enable_changed ()
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
Strip::notify_eq_type_changed ()
|
||||
{
|
||||
if (_stripable) {
|
||||
_surface->mcp().MackieControlProtocol::redisplay_subview_mode();
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Strip::notify_stripable_deleted ()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@ private:
|
|||
void notify_solo_changed ();
|
||||
void notify_mute_changed ();
|
||||
void notify_record_enable_changed ();
|
||||
void notify_eq_type_changed ();
|
||||
void notify_gain_changed (bool force_update = true);
|
||||
void notify_property_changed (const PBD::PropertyChange&);
|
||||
void notify_panner_azi_changed (bool force_update = true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue