mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fix stem-export buffer-size check
This commit is contained in:
parent
9c0b62e2f3
commit
592be26a24
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ RouteExportChannel::read (Sample const *& data, framecnt_t frames) const
|
|||
{
|
||||
assert(processor);
|
||||
AudioBuffer const & buffer = processor->get_capture_buffers().get_audio (channel);
|
||||
assert (frames <= (framecnt_t) buffer.size());
|
||||
assert (frames <= (framecnt_t) buffer.capacity());
|
||||
data = buffer.data();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue