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
+5
View File
@@ -16,6 +16,11 @@ Versioning](https://semver.org/spec/v2.0.0.html).
TODO: Remove the notice about this from the README
### Fixed
- Increased the limit for the maximum number of audio channels. This would cause
issues in Renoise when using many output channels.
## [1.5.0] - 2020-08-21
### Added
+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.
*/