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/graph.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/graph.cc')
-rw-r--r-- | libs/ardour/graph.cc | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index eb9ebca682..0389b2ef1a 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -513,7 +513,7 @@ Graph::dump (int chain) } int -Graph::process_routes (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, int declick, bool& need_butler) +Graph::process_routes (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool& need_butler) { DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("graph execution from %1 to %2 = %3\n", start_sample, end_sample, nframes)); @@ -522,7 +522,6 @@ Graph::process_routes (pframes_t nframes, samplepos_t start_sample, samplepos_t _process_nframes = nframes; _process_start_sample = start_sample; _process_end_sample = end_sample; - _process_declick = declick; _process_noroll = false; _process_retval = 0; @@ -539,8 +538,7 @@ Graph::process_routes (pframes_t nframes, samplepos_t start_sample, samplepos_t } int -Graph::routes_no_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, - bool non_rt_pending, int declick) +Graph::routes_no_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool non_rt_pending) { DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("no-roll graph execution from %1 to %2 = %3\n", start_sample, end_sample, nframes)); @@ -549,7 +547,6 @@ Graph::routes_no_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t _process_nframes = nframes; _process_start_sample = start_sample; _process_end_sample = end_sample; - _process_declick = declick; _process_non_rt_pending = non_rt_pending; _process_noroll = true; @@ -574,11 +571,9 @@ Graph::process_one_route (Route* route) DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("%1 runs route %2\n", pthread_name(), route->name())); if (_process_noroll) { - route->set_pending_declick (_process_declick); retval = route->no_roll (_process_nframes, _process_start_sample, _process_end_sample, _process_non_rt_pending); } else { - route->set_pending_declick (_process_declick); - retval = route->roll (_process_nframes, _process_start_sample, _process_end_sample, _process_declick, need_butler); + retval = route->roll (_process_nframes, _process_start_sample, _process_end_sample, need_butler); } if (retval) { |