From ff0560574e50e384d33f2620d231461b9bd8662f Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 22 Jul 2025 09:11:15 -0500 Subject: AudioCommon/Mixer: Skip sample processing when NullSoundStream is being used. --- Source/Core/AudioCommon/NullSoundStream.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/Core/AudioCommon/NullSoundStream.cpp') diff --git a/Source/Core/AudioCommon/NullSoundStream.cpp b/Source/Core/AudioCommon/NullSoundStream.cpp index 3c7a0ebb98..d731f16913 100644 --- a/Source/Core/AudioCommon/NullSoundStream.cpp +++ b/Source/Core/AudioCommon/NullSoundStream.cpp @@ -5,6 +5,9 @@ bool NullSound::Init() { + // Make Mixer aware that audio output is disabled. + GetMixer()->SetSampleRate(0); + return true; } -- cgit v1.2.3