projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Another not-quite-there-but-better commit.
[ardour.git]
/
libs
/
ardour
/
buffer_set.cc
diff --git
a/libs/ardour/buffer_set.cc
b/libs/ardour/buffer_set.cc
index 2206b8885b1c6d74cc4290d80d3aa8a6cda2496f..3dc580caa221b3da79ddc7e2d1e4709b18fb2ad0 100644
(file)
--- a/
libs/ardour/buffer_set.cc
+++ b/
libs/ardour/buffer_set.cc
@@
-98,6
+98,7
@@
BufferSet::ensure_buffers(DataType type, size_t num_buffers, size_t buffer_capac
{
assert(type != DataType::NIL);
assert(type < _buffers.size());
+ assert(buffer_capacity > 0);
if (num_buffers == 0)
return;