summaryrefslogtreecommitdiff
path: root/libs/ardour/delivery.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-09-15 17:01:12 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-09-15 17:01:12 -0400
commit50a6487e771f24803d82a1a1c6c3938448b07ae2 (patch)
treeed5611bf63ba535c78fc52ea2769a0fea763de31 /libs/ardour/delivery.cc
parentaf2b8c73b9e9b34447fcab59eff2a9d54bde8b48 (diff)
move speed quietning code into Delivery, where it belongs.
Note: I find the -12dB reduction too much of a reduction.
Diffstat (limited to 'libs/ardour/delivery.cc')
-rw-r--r--libs/ardour/delivery.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/delivery.cc b/libs/ardour/delivery.cc
index bd07360340..5a4fbd3e1d 100644
--- a/libs/ardour/delivery.cc
+++ b/libs/ardour/delivery.cc
@@ -318,6 +318,14 @@ Delivery::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame, pf
goto out;
}
+ // Speed quietning
+
+ if (fabs (_session.transport_speed()) > 1.5 && Config->get_quieten_at_speed ()) {
+ Amp::apply_simple_gain (bufs, nframes, speed_quietning, false);
+ }
+
+ // Panning
+
if (_panshell && !_panshell->bypassed() && _panshell->panner()) {
// Use the panner to distribute audio to output port buffers