projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c0b62e
)
fix stem-export buffer-size check
author
Robin Gareus
<robin@gareus.org>
Mon, 3 Feb 2014 15:51:08 +0000
(16:51 +0100)
committer
Robin Gareus
<robin@gareus.org>
Mon, 3 Feb 2014 15:51:08 +0000
(16:51 +0100)
libs/ardour/export_channel.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/export_channel.cc
b/libs/ardour/export_channel.cc
index c67f33bb918e5dc3b4a0f69b1328a7d2a123c6d3..0e029a01f7731e06759c5535717bf5541bb28a10 100644
(file)
--- 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();
}