From e6fd1fc24684389280f02ea7396ceb6a80a3ea52 Mon Sep 17 00:00:00 2001 From: fwcd Date: Tue, 26 Nov 2024 19:50:16 +0100 Subject: [PATCH] AudioUnitManager: Initialize isInstantiated --- src/effects/backends/audiounit/audiounitmanager.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/effects/backends/audiounit/audiounitmanager.mm b/src/effects/backends/audiounit/audiounitmanager.mm index 27319df3c58..5d34d99066f 100644 --- a/src/effects/backends/audiounit/audiounitmanager.mm +++ b/src/effects/backends/audiounit/audiounitmanager.mm @@ -10,7 +10,8 @@ AudioUnitManager::AudioUnitManager(AVAudioUnitComponent* _Nullable component, AudioUnitInstantiationType instantiationType) - : m_name(QString::fromNSString([component name])) { + : m_name(QString::fromNSString([component name])), + m_isInstantiated(false) { // NOTE: The component can be null if the lookup failed in // `AudioUnitBackend::createProcessor`, in which case the effect simply acts // as an identity function on the audio. Same applies when