mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 04:46:48 -04:00
Implement DSP pause somewhat
This commit is contained in:
@@ -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 = {};
|
||||
|
||||
Reference in New Issue
Block a user