summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/amp.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-05-22 18:09:26 +0200
committerRobin Gareus <robin@gareus.org>2018-07-09 17:30:38 +0200
commit249640267cc9afa7b0f048d56b7e961af6441111 (patch)
treea51c99646a6409a4012987fd3e19b1f61eaf9389 /libs/ardour/ardour/amp.h
parent8664768efa99c9186a99e2487581e0107d431833 (diff)
Remove global declick API
De-click will be per disk-reader, latency compensated and buffer-size independent. Cue-monitoring should not be affected by de-click.
Diffstat (limited to 'libs/ardour/ardour/amp.h')
-rw-r--r--libs/ardour/ardour/amp.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h
index ee06708b5f..36b5464692 100644
--- a/libs/ardour/ardour/amp.h
+++ b/libs/ardour/ardour/amp.h
@@ -32,9 +32,7 @@ class BufferSet;
class GainControl;
class IO;
-/** Applies a declick operation to all audio inputs, passing the same number of
- * audio outputs, and passing through any other types unchanged.
- */
+/** Gain Stage (Fader, Trim). */
class LIBARDOUR_API Amp : public Processor {
public:
Amp(Session& s, const std::string& display_name, boost::shared_ptr<GainControl> control, bool control_midi_also);
@@ -62,9 +60,6 @@ public:
static gain_t apply_gain (AudioBuffer& buf, samplecnt_t sample_rate, samplecnt_t nframes, gain_t initial, gain_t target, sampleoffset_t offset = 0);
static void apply_simple_gain (AudioBuffer& buf, samplecnt_t nframes, gain_t target, sampleoffset_t offset = 0);
- static void declick (BufferSet& bufs, samplecnt_t nframes, int dir);
- static void update_meters();
-
boost::shared_ptr<GainControl> gain_control() {
return _gain_control;
}