diff options
author | Robin Gareus <robin@gareus.org> | 2018-05-22 18:09:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-07-09 17:30:38 +0200 |
commit | 249640267cc9afa7b0f048d56b7e961af6441111 (patch) | |
tree | a51c99646a6409a4012987fd3e19b1f61eaf9389 /libs/ardour/track.cc | |
parent | 8664768efa99c9186a99e2487581e0107d431833 (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/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index d58faf1e83..d992aae079 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -61,8 +61,6 @@ Track::Track (Session& sess, string name, PresentationInfo::Flag flag, TrackMode , _alignment_choice (Automatic) { _freeze_record.state = NoFreeze; - _declickable = true; - } Track::~Track () @@ -801,29 +799,6 @@ Track::adjust_capture_buffering () } } - -void -Track::maybe_declick (BufferSet& bufs, samplecnt_t nframes, int declick) -{ - /* never declick if there is an internal generator - we just want it to - keep generating sound without interruption. - - ditto if we are monitoring inputs. - */ - - if (_have_internal_generator || (_monitoring_control->monitoring_choice() == MonitorInput)) { - return; - } - - if (!declick) { - declick = _pending_declick; - } - - if (declick != 0) { - Amp::declick (bufs, nframes, declick); - } -} - void Track::monitoring_changed (bool, Controllable::GroupControlDisposition) { |