diff options
author | Robin Gareus <robin@gareus.org> | 2014-02-03 16:51:08 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-02-03 16:51:08 +0100 |
commit | 592be26a248bacda5bbe72d2da9e8539e5ce3915 (patch) | |
tree | a391ff2f0b02120e7ff7b2f1b4ba916e2eb795e8 /libs/ardour | |
parent | 9c0b62e2f3786ccaa2ceda3425d15bf8afc669d0 (diff) |
fix stem-export buffer-size check
Diffstat (limited to 'libs/ardour')
-rw-r--r-- | libs/ardour/export_channel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/export_channel.cc b/libs/ardour/export_channel.cc index c67f33bb91..0e029a01f7 100644 --- a/libs/ardour/export_channel.cc +++ b/libs/ardour/export_channel.cc @@ -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(); } |