do not advance pointer; avoids illegal over-read during mix_buffers_no_gain()
This commit is contained in:
parent
30c6096d20
commit
3be9659637
@ -355,8 +355,7 @@ DiskReader::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame,
|
|||||||
memcpy (disk_signal,
|
memcpy (disk_signal,
|
||||||
chaninfo->rw_vector.buf[0],
|
chaninfo->rw_vector.buf[0],
|
||||||
chaninfo->rw_vector.len[0] * sizeof (Sample));
|
chaninfo->rw_vector.len[0] * sizeof (Sample));
|
||||||
disk_signal += chaninfo->rw_vector.len[0];
|
memcpy (disk_signal + chaninfo->rw_vector.len[0],
|
||||||
memcpy (disk_signal,
|
|
||||||
chaninfo->rw_vector.buf[1],
|
chaninfo->rw_vector.buf[1],
|
||||||
(playback_distance - chaninfo->rw_vector.len[0]) * sizeof (Sample));
|
(playback_distance - chaninfo->rw_vector.len[0]) * sizeof (Sample));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user