1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
This commit is contained in:
Jean Bresson 2025-08-19 19:07:48 +08:00 committed by GitHub
commit ad5bafe433
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -166,7 +166,7 @@ bool AudioFormatWriter::writeFromFloatArrays (const float* const* channels, int
if (isFloatingPoint())
return write ((const int**) channels, numSamples);
std::vector<int*> chans (256);
std::vector<int*> chans (numSourceChannels + 1);
std::vector<int> scratch (4096);
jassert (numSourceChannels < (int) chans.size());