From f0cb32ff088c604cb77a2cc4b35a53db761bcd65 Mon Sep 17 00:00:00 2001 From: Lisa Magdalena Riedler Date: Tue, 9 Dec 2025 00:17:47 +0100 Subject: [PATCH] Fix AFP reverse mode desync on new sample load (#8158) Previously, loading a new sample in an AFP instance with reverse enabled would desync the button from the model, such that the button would indicate the sample was reversed despite the new sample not actually being reversed. This commit fixes this behavior so that samples loaded into an AFP instance with reverse enabled are actually reversed. --- plugins/AudioFileProcessor/AudioFileProcessor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/AudioFileProcessor/AudioFileProcessor.cpp b/plugins/AudioFileProcessor/AudioFileProcessor.cpp index 7cdb58d8f5..4892ee839c 100644 --- a/plugins/AudioFileProcessor/AudioFileProcessor.cpp +++ b/plugins/AudioFileProcessor/AudioFileProcessor.cpp @@ -320,6 +320,7 @@ void AudioFileProcessor::setAudioFile(const QString& _audio_file, bool _rename) m_sample = Sample(gui::SampleLoader::createBufferFromFile(_audio_file)); loopPointChanged(); + reverseModelChanged(); emit sampleUpdated(); }