Increase the maximum number of audio channels

This fixes #10, as Scaler was reporting 64 inputs.
This commit is contained in:
Robbert van der Helm
2020-05-06 23:47:05 +02:00
parent 261cf0554c
commit dd684c26e1
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -32,9 +32,11 @@
// These constants are limits used by bitsery
/**
* The maximum number of audio channels supported.
* The maximum number of audio channels supported. Some plugins report a huge
* amount of input channels, even though they don't even process any incoming
* audio.
*/
constexpr size_t max_audio_channels = 32;
constexpr size_t max_audio_channels = 256;
/**
* The maximum number of samples in a buffer.
*/