Increase the maximum number of audio channels #35

Not sure why it's doing this, but Renoise seems to report 112 speakers
per audio channel, so the 256 audio channel limit would be exceeded when
using more than 2 output channels.
This commit is contained in:
Robbert van der Helm
2020-08-31 23:39:06 +02:00
parent 0f0b24506e
commit 504102ef79
2 changed files with 8 additions and 2 deletions
+3 -2
View File
@@ -34,9 +34,10 @@
/**
* 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.
* audio. Renoise seems to report 112 speakers per audio channel, so this limit
* is now quite a bit higher than it should have to be.
*/
constexpr size_t max_audio_channels = 256;
constexpr size_t max_audio_channels = 16384;
/**
* The maximum number of samples in a buffer.
*/