From ea8eb956ffdf8469e9f7e2ecc41a6f0053285b0c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 7 Apr 2017 23:26:59 +0200 Subject: [PATCH] Add session signal to track mute-changes In preparation for Faderport8 "Mute Clear" LED Button. --- libs/ardour/ardour/session.h | 1 + libs/ardour/session.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 02f6fdeb5b..4ab9fc605b 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -853,6 +853,7 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop PBD::Signal1 SoloActive; PBD::Signal0 SoloChanged; + PBD::Signal0 MuteChanged; PBD::Signal0 IsolatedChanged; PBD::Signal0 MonitorChanged; diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index d54dac7fd9..12fb6521fa 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3848,6 +3848,7 @@ Session::remove_route (boost::shared_ptr route) void Session::route_mute_changed () { + MuteChanged (); /* EMIT SIGNAL */ set_dirty (); }