From dbf05a6b0fc96580635615037952f894c7b2fd11 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 24 Jan 2009 16:44:00 +0000 Subject: [PATCH] Copy diskstream data to all output buffers. git-svn-id: svn://localhost/ardour2/branches/3.0@4441 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/audio_track.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/audio_track.cc b/libs/ardour/audio_track.cc index e1c21a5d63..ada5a183dc 100644 --- a/libs/ardour/audio_track.cc +++ b/libs/ardour/audio_track.cc @@ -648,7 +648,7 @@ AudioTrack::roll (nframes_t nframes, nframes_t start_frame, nframes_t end_frame, limit = blimit; } else { - for (i = 0, n = 1; i < limit; ++i, ++n) { + for (i = 0, n = 1; i < blimit; ++i, ++n) { memcpy (bufs.get_audio (i).data(), b, sizeof (Sample) * nframes); if (n < diskstream->n_channels().n_audio()) { tmpb = diskstream->playback_buffer(n);