fix stem-export buffer-size check
This commit is contained in:
parent
9c0b62e2f3
commit
592be26a24
@ -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…
Reference in New Issue
Block a user