mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
fix thinko with incorrect argument to AudioRegion::region_from_sources()
This commit is contained in:
parent
7c56b9b2fc
commit
7b0d812e92
1 changed files with 1 additions and 1 deletions
|
|
@ -587,7 +587,7 @@ AudioRegion::read_at (Sample *buf, Sample *mixdown_buffer, float *gain_buffer,
|
|||
may need to mix with the existing data.
|
||||
*/
|
||||
|
||||
if (read_from_sources (_sources, lsamples, mixdown_buffer, psamples, to_read, chan_n) != to_read) {
|
||||
if (read_from_sources (_sources, lsamples, mixdown_buffer, position, to_read, chan_n) != to_read) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue