Open YPares opened 1 week ago
Try increasing the period size from the default 512 samples to 2048 (or 1056 which is a weird number but that seems to be what you're getting from CPAL/wasapi). The configured buffer size seems to be fairly meaningless on Windows and macOS.
Okay, indeed with -p 1056
it fixes the issue. Would it be possible to add a reference to that flag in the error message, if that's something you have control over?
After updating to a recent nih-plug commit (
b3038b458c35a620fbc07b65a7261693f6e68e0e
), I'm getting this right when running the standalone version of the basic template from https://github.com/robbert-vdh/nih-plug-template (with a main that just runsnih_plug::nix_export_standalone::<MyPlugin>
):I noticed it with my plugin (https://github.com/YPares/nih-faust-jit) but tried with the template in order to have a more minimal repro.
This is a regression, as this error wasn't present back when I was using nih-plug at commit
bb274976ca138289436b0bfa209b2c8c13244225
. This happens when building in both release & debug.