mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
VST2 Host: Fix an incorrect assertion in the VST2 hosting code's handling of channel pointers
This commit is contained in:
parent
7b61bdfba9
commit
447c760be3
1 changed files with 1 additions and 1 deletions
|
|
@ -837,7 +837,7 @@ public:
|
|||
{
|
||||
auto& pointers = getPointers (Tag<T>{});
|
||||
|
||||
jassert ((int) pointers.size() < buffer.getNumChannels());
|
||||
jassert (buffer.getNumChannels() <= static_cast<int> (pointers.capacity()));
|
||||
pointers.resize (jmax (pointers.size(), (size_t) buffer.getNumChannels()));
|
||||
|
||||
std::copy (buffer.getArrayOfWritePointers(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue