13
0

Copy diskstream data to all output buffers.

git-svn-id: svn://localhost/ardour2/branches/3.0@4441 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-01-24 16:44:00 +00:00
parent 6ccf29fb53
commit dbf05a6b0f

View File

@ -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);