X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fgraph.cc;fp=libs%2Fardour%2Fgraph.cc;h=eb9ebca682681f87c8c490177fddca802e020c52;hb=30b087ab3d28f1585987fa3f6ae006562ae192e3;hp=504491b9ab22052f976e3770284a4a1a7c1ea08a;hpb=cb956e3e480716a3efd280a5287bdd7bee1cedc5;p=ardour.git diff --git a/libs/ardour/graph.cc b/libs/ardour/graph.cc index 504491b9ab..eb9ebca682 100644 --- a/libs/ardour/graph.cc +++ b/libs/ardour/graph.cc @@ -513,15 +513,15 @@ Graph::dump (int chain) } int -Graph::process_routes (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, int declick, bool& need_butler) +Graph::process_routes (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, int declick, bool& need_butler) { - DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("graph execution from %1 to %2 = %3\n", start_frame, end_frame, nframes)); + DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("graph execution from %1 to %2 = %3\n", start_sample, end_sample, nframes)); if (!_threads_active) return 0; _process_nframes = nframes; - _process_start_frame = start_frame; - _process_end_frame = end_frame; + _process_start_sample = start_sample; + _process_end_sample = end_sample; _process_declick = declick; _process_noroll = false; @@ -539,16 +539,16 @@ Graph::process_routes (pframes_t nframes, framepos_t start_frame, framepos_t end } int -Graph::routes_no_roll (pframes_t nframes, framepos_t start_frame, framepos_t end_frame, +Graph::routes_no_roll (pframes_t nframes, samplepos_t start_sample, samplepos_t end_sample, bool non_rt_pending, int declick) { - DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("no-roll graph execution from %1 to %2 = %3\n", start_frame, end_frame, nframes)); + DEBUG_TRACE (DEBUG::ProcessThreads, string_compose ("no-roll graph execution from %1 to %2 = %3\n", start_sample, end_sample, nframes)); if (!_threads_active) return 0; _process_nframes = nframes; - _process_start_frame = start_frame; - _process_end_frame = end_frame; + _process_start_sample = start_sample; + _process_end_sample = end_sample; _process_declick = declick; _process_non_rt_pending = non_rt_pending; @@ -575,10 +575,10 @@ Graph::process_one_route (Route* route) if (_process_noroll) { route->set_pending_declick (_process_declick); - retval = route->no_roll (_process_nframes, _process_start_frame, _process_end_frame, _process_non_rt_pending); + 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_frame, _process_end_frame, _process_declick, need_butler); + retval = route->roll (_process_nframes, _process_start_sample, _process_end_sample, _process_declick, need_butler); } if (retval) {