Skip to content

Commit

Permalink
plugin: fix incorrect latency presented by plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
JoepVanlier committed Jul 8, 2024
1 parent b7e62de commit f5ae7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/processor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit f5ae7e5

Please sign in to comment.