diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-29 16:10:51 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-29 17:00:27 +0200 |
commit | cd5f70e69ace82a0f04ab045065cfffa2fafb571 (patch) | |
tree | 6aef91a3a348d21e1650128948592de8ee736081 /gtk2_ardour/ardour_ui2.cc | |
parent | e3fc2614f71c6aa1b46368e0f1b4c2ef228c1627 (diff) |
Fix issues when delay-buffers are re-allocated
Previously buffers were dropped, and data was not copied to
newly allocated buffers. As side-effect the read-offset was not
adjusted either.
The distance between read and write-pointer needs to be maintained
(delay does not change). This needs to be accounted for, when the
buffer increases while read->write wraps around the old (smaller)
buffer. Previously this triggered an assert (in line 180)
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
0 files changed, 0 insertions, 0 deletions