mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user