diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-12 11:32:56 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-05-12 11:34:38 -0600 |
commit | 5b7c20453ff0129eb283bdeeeb67bc73064185c1 (patch) | |
tree | 7cbbd4246d57f6d4fb11102de739ec2725e12ce4 /libs/ardour/resampled_source.cc | |
parent | af46adc110cdccec7a8d981e9ab47e9f4ff4085b (diff) |
DiskReader::overwrite_existing_audio() now only overwrites data that would be read
There's no need to fill the whole buffer, because we do not consider the whole buffer readable.
This uses the recently-added PlaybackBuffer::overwritable_at() API to compute the correct
amount of data to overwrite
Diffstat (limited to 'libs/ardour/resampled_source.cc')
0 files changed, 0 insertions, 0 deletions