From f5ae7e59f1171eec88c2cb295436b0fcd6927d76 Mon Sep 17 00:00:00 2001 From: Joep Vanlier Date: Mon, 8 Jul 2024 21:58:58 +0200 Subject: [PATCH] plugin: fix incorrect latency presented by plugin --- plugin/processor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/processor.cpp b/plugin/processor.cpp index f984463..e0a7ea4 100644 --- a/plugin/processor.cpp +++ b/plugin/processor.cpp @@ -518,7 +518,7 @@ void YsfxProcessor::Impl::processLatency() // NOTE: ignore pdc_bot_ch and pdc_top_ch - int samples = juce::roundToInt(latency * m_self->getSampleRate()); + int samples = juce::roundToInt(latency); m_self->setLatencySamples(samples); }