aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/audio_manager.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-21 09:25:00 -0400
committerLioncash <mathew1800@gmail.com>2022-09-21 09:26:42 -0400
commit1019e52885d366b8a9ac1ed725f16d60f9ca594a (patch)
treeb826e3b269d322266b033e96901575e6ce5d2699 /src/audio_core/audio_manager.h
parentfa7daaf17101a126b979fa6ba9254796ea9f7469 (diff)
audio_manager: Remove dependence on system state
This isn't used by the class, so this can be removed for the time being.
Diffstat (limited to 'src/audio_core/audio_manager.h')
-rw-r--r--src/audio_core/audio_manager.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/audio_core/audio_manager.h b/src/audio_core/audio_manager.h
index 8cbd95e22e..75604df18d 100644
--- a/src/audio_core/audio_manager.h
+++ b/src/audio_core/audio_manager.h
@@ -12,10 +12,6 @@
#include "audio_core/audio_event.h"
#include "core/hle/service/audio/errors.h"
-namespace Core {
-class System;
-}
-
namespace AudioCore {
namespace AudioOut {
@@ -43,7 +39,7 @@ class AudioManager {
using BufferEventFunc = std::function<void()>;
public:
- explicit AudioManager(Core::System& system);
+ explicit AudioManager();
/**
* Shutdown the audio manager.
@@ -80,9 +76,7 @@ private:
*/
void ThreadFunc();
- /// Core system
- Core::System& system;
- /// Have sessions started palying?
+ /// Have sessions started playing?
bool sessions_started{};
/// Is the main thread running?
std::atomic<bool> running{};