From 2c84387ec9c9041ad1732d361eb99d2834ced518 Mon Sep 17 00:00:00 2001 From: PJB3005 Date: Sun, 15 Mar 2026 01:32:13 +0100 Subject: [PATCH] Implement DSP pause somewhat --- src/dusk/audio/DuskDsp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dusk/audio/DuskDsp.cpp b/src/dusk/audio/DuskDsp.cpp index 5b4c5d0730..80e7ffe028 100644 --- a/src/dusk/audio/DuskDsp.cpp +++ b/src/dusk/audio/DuskDsp.cpp @@ -92,6 +92,12 @@ void dusk::audio::DspRender(DspSubframe& subframe) { continue; } + if (channel.mPauseFlag) { + // Not really sure what the practical difference between pause and + // deactivation is. Either avoids clearing state or allows the DSP to avoid popping? + continue; + } + ValidateChannel(channel); DspSubframe channelSubframe = {};