13
0

fix stem-export buffer-size check

This commit is contained in:
Robin Gareus 2014-02-03 16:51:08 +01:00
parent 9c0b62e2f3
commit 592be26a24

View File

@ -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();
}