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
+1
View File
@@ -24,6 +24,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
though. Fixes #3.
- Changed Wine prefix detection to be relative to the plugin's `.dll` file,
rather than the loaded `.so` file.
- Increased the maximum number of audio channels from 32 to 256.
- Clarified the error that appears when we're unable to load the `.dll`.
### Fixed
+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.
*/