summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/delivery.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-09-15 16:34:53 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-09-15 16:35:37 -0400
commit601a34521c2ce1d0167ed2f3c66f2fa6eeeb6b8e (patch)
tree43afbe2f75c190654c8c57d37e99653ab101c000 /libs/ardour/ardour/delivery.h
parentfdcc209354d830d8edce0e53a367fd2d6faef75d (diff)
add an Amp to Delivery, remove it from Send, make use of this in various ::run() methods
Delivery::_amp now will handle monitor-related delicks assuming the Session::config.get_use_monitor_fades() is true.
Diffstat (limited to 'libs/ardour/ardour/delivery.h')
-rw-r--r--libs/ardour/ardour/delivery.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/delivery.h b/libs/ardour/ardour/delivery.h
index e19eef719f..1b8ff3f87a 100644
--- a/libs/ardour/ardour/delivery.h
+++ b/libs/ardour/ardour/delivery.h
@@ -34,6 +34,7 @@ class MuteMaster;
class PannerShell;
class Panner;
class Pannable;
+class Amp;
class LIBARDOUR_API Delivery : public IOProcessor
{
@@ -67,6 +68,8 @@ public:
bool set_name (const std::string& name);
std::string display_name() const;
+ boost::shared_ptr<Amp> amp() const { return _amp; }
+
Role role() const { return _role; }
bool can_support_io_configuration (const ChanCount& in, ChanCount& out);
bool configure_io (ChanCount in, ChanCount out);
@@ -106,8 +109,8 @@ public:
protected:
Role _role;
BufferSet* _output_buffers;
- gain_t _current_gain;
boost::shared_ptr<PannerShell> _panshell;
+ boost::shared_ptr<Amp> _amp;
gain_t target_gain ();