Description
The VoidProcessor and plugins are hardcoded to 48kHz (SAMPLE_RATE constant in crates/core/src/constants.rs). In crates/plugin/src/lib.rs line 199-203, a warning is logged if the host uses a different sample rate, but processing continues incorrectly.
Impact
Audio artifacts and incorrect pitch if the DAW uses 44.1kHz or 96kHz.
Suggested Fix
Either:
- Implement resampling at plugin boundaries.
- Reject hosts with incompatible sample rates during
initialize() by returning false.
- Make
SAMPLE_RATE configurable.
Description
The
VoidProcessorand plugins are hardcoded to 48kHz (SAMPLE_RATEconstant incrates/core/src/constants.rs). Incrates/plugin/src/lib.rsline 199-203, a warning is logged if the host uses a different sample rate, but processing continues incorrectly.Impact
Audio artifacts and incorrect pitch if the DAW uses 44.1kHz or 96kHz.
Suggested Fix
Either:
initialize()by returningfalse.SAMPLE_RATEconfigurable.