mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
do not advance pointer; avoids illegal over-read during mix_buffers_no_gain()
This commit is contained in:
parent
baa0805d1e
commit
30259b1fd8
1 changed files with 1 additions and 2 deletions
|
|
@ -355,8 +355,7 @@ DiskReader::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame,
|
|||
memcpy (disk_signal,
|
||||
chaninfo->rw_vector.buf[0],
|
||||
chaninfo->rw_vector.len[0] * sizeof (Sample));
|
||||
disk_signal += chaninfo->rw_vector.len[0];
|
||||
memcpy (disk_signal,
|
||||
memcpy (disk_signal + chaninfo->rw_vector.len[0],
|
||||
chaninfo->rw_vector.buf[1],
|
||||
(playback_distance - chaninfo->rw_vector.len[0]) * sizeof (Sample));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue