mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Increase the maximum number of audio channels
This fixes #10, as Scaler was reporting 64 inputs.
This commit is contained in:
@@ -24,6 +24,7 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
though. Fixes #3.
|
though. Fixes #3.
|
||||||
- Changed Wine prefix detection to be relative to the plugin's `.dll` file,
|
- Changed Wine prefix detection to be relative to the plugin's `.dll` file,
|
||||||
rather than the loaded `.so` 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`.
|
- Clarified the error that appears when we're unable to load the `.dll`.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -32,9 +32,11 @@
|
|||||||
// These constants are limits used by bitsery
|
// 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.
|
* The maximum number of samples in a buffer.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user