summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-07-31 02:00:31 +0200
committerRobin Gareus <robin@gareus.org>2013-07-31 02:00:31 +0200
commite8dc22119182b07ba0aab3739c86df23d22eb6bc (patch)
treeb66feea0707220c8347e5326f4864e2e25e216d6 /libs/ardour
parent476da4f3dfd23a23c4216512362d62f4f3bb9fbc (diff)
fix stupid copy/paste error in 00f26394a9
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/audio_track.cc2
-rw-r--r--libs/ardour/process_thread.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc
index 4b33bbd4c6..6de833aeb4 100644
--- a/libs/ardour/audio_track.cc
+++ b/libs/ardour/audio_track.cc
@@ -353,7 +353,7 @@ AudioTrack::roll (pframes_t nframes, framepos_t start_frame, framepos_t end_fram
_silent = false;
_amp->apply_gain_automation(false);
- BufferSet& bufs = _session.get_scratch_buffers (n_process_buffers ());
+ BufferSet& bufs = _session.get_route_buffers (n_process_buffers ());
fill_buffers_with_input (bufs, _input, nframes);
diff --git a/libs/ardour/process_thread.cc b/libs/ardour/process_thread.cc
index 2ffb47a0df..4c9789f37a 100644
--- a/libs/ardour/process_thread.cc
+++ b/libs/ardour/process_thread.cc
@@ -114,7 +114,7 @@ ProcessThread::get_route_buffers (ChanCount count, bool silence)
ThreadBuffers* tb = _private_thread_buffers.get();
assert (tb);
- BufferSet* sb = tb->scratch_buffers;
+ BufferSet* sb = tb->route_buffers;
assert (sb);
if (count != ChanCount::ZERO) {