mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-21 14:16:31 +01:00
Modify assertion; as far as I can see, ensure_buffers makes no attempt to reduce the
number of available buffers, even if it is requested. So in that case the old assertion will fire erroneously. git-svn-id: svn://localhost/ardour2/branches/3.0@6229 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4f445eab11
commit
89c8f18f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ BufferSet::ensure_buffers(const ChanCount& chns, size_t buffer_capacity)
|
|||
assert(bufs[0]->capacity() >= buffer_capacity);
|
||||
}
|
||||
|
||||
assert (available() == chns);
|
||||
assert (available() >= chns);
|
||||
}
|
||||
|
||||
/** Get the capacity (size) of the available buffers of the given type.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue