early-access version 3130

This commit is contained in:
pineappleEA
2022-11-19 12:44:30 +01:00
parent dba1deb4a5
commit cd9434a867
7 changed files with 165 additions and 54 deletions

View File

@@ -265,8 +265,20 @@ void SinkStream::ProcessAudioOutAndRender(std::span<s16> output_buffer, std::siz
}
}
void SinkStream::Stall() {}
void SinkStream::Stall() {
if (stalled) {
return;
}
stalled = true;
system.StallProcesses();
}
void SinkStream::Unstall() {}
void SinkStream::Unstall() {
if (!stalled) {
return;
}
system.UnstallProcesses();
stalled = false;
}
} // namespace AudioCore::Sink