diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a4c73ad..4d51b968 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/src/common/serialization.h b/src/common/serialization.h index 1a49ea5e..2216fcda 100644 --- a/src/common/serialization.h +++ b/src/common/serialization.h @@ -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. */