summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/system_manager.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-05-26 06:34:50 +0200
committerGitHub <noreply@github.com>2023-05-26 06:34:50 +0200
commit83b502c08cf520166d09b8841f7b8874d35dce4f (patch)
tree041901aad11e998b5424c50c6c5f29fef227ed11 /src/audio_core/renderer/system_manager.h
parentMerge pull request #10396 from german77/amiibo_write (diff)
parentSmooth out the DSP callback by adding a 5ms wait time limit (diff)
downloadyuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.tar
yuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.tar.gz
yuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.tar.bz2
yuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.tar.lz
yuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.tar.xz
yuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.tar.zst
yuzu-83b502c08cf520166d09b8841f7b8874d35dce4f.zip
Diffstat (limited to '')
-rw-r--r--src/audio_core/renderer/system_manager.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/audio_core/renderer/system_manager.h b/src/audio_core/renderer/system_manager.h
index 1f0bbd8b4..9681fd121 100644
--- a/src/audio_core/renderer/system_manager.h
+++ b/src/audio_core/renderer/system_manager.h
@@ -66,13 +66,7 @@ private:
/**
* Main thread responsible for command generation.
*/
- void ThreadFunc();
-
- enum class StreamState {
- Filling,
- Steady,
- Draining,
- };
+ void ThreadFunc(std::stop_token stop_token);
/// Core system
Core::System& core;
@@ -90,8 +84,6 @@ private:
ADSP::ADSP& adsp;
/// AudioRenderer mailbox for communication
ADSP::AudioRenderer_Mailbox* mailbox{};
- /// Atomic for main thread to wait on
- std::atomic<bool> update{};
};
} // namespace AudioCore::AudioRenderer