From 5d7692f437024f83e0c3e1fa4a2ea28bf9b6507a Mon Sep 17 00:00:00 2001 From: Hyunjin Song Date: Tue, 27 Jul 2021 11:09:26 +0900 Subject: [PATCH] Fix wrong VST pitch after starting LMMS with non-default sampling rate (#6068) --- src/core/Mixer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/Mixer.cpp b/src/core/Mixer.cpp index 4a726dc23..1690b0d91 100644 --- a/src/core/Mixer.cpp +++ b/src/core/Mixer.cpp @@ -206,6 +206,8 @@ void Mixer::initDevices() m_audioDev = tryAudioDevices(); m_midiClient = tryMidiClients(); } + // Loading audio device may have changed the sample rate + emit sampleRateChanged(); }