diff options
Diffstat (limited to 'libs/ardour/amp.cc')
-rw-r--r-- | libs/ardour/amp.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/ardour/amp.cc b/libs/ardour/amp.cc index d6c6f00ee5..34ea20addf 100644 --- a/libs/ardour/amp.cc +++ b/libs/ardour/amp.cc @@ -47,6 +47,12 @@ Amp::Amp(Session& s, boost::shared_ptr<MuteMaster> mm) add_control(_gain_control); } +std::string +Amp::display_name() const +{ + return _("Fader"); +} + bool Amp::can_support_io_configuration (const ChanCount& in, ChanCount& out) const { @@ -69,6 +75,10 @@ Amp::run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t { gain_t mute_gain; + if (!_active) { + return; + } + if (_mute_master) { mute_gain = _mute_master->mute_gain_at (MuteMaster::PreFader); } else { |