summaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio_core/renderer/system.h')
-rw-r--r--src/audio_core/renderer/system.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/audio_core/renderer/system.h b/src/audio_core/renderer/system.h
index 8a8341710..753a0b796 100644
--- a/src/audio_core/renderer/system.h
+++ b/src/audio_core/renderer/system.h
@@ -29,6 +29,7 @@ class System;
29 29
30namespace Kernel { 30namespace Kernel {
31class KEvent; 31class KEvent;
32class KProcess;
32class KTransferMemory; 33class KTransferMemory;
33} // namespace Kernel 34} // namespace Kernel
34 35
@@ -80,7 +81,8 @@ public:
80 */ 81 */
81 Result Initialize(const AudioRendererParameterInternal& params, 82 Result Initialize(const AudioRendererParameterInternal& params,
82 Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size, 83 Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size,
83 u32 process_handle, u64 applet_resource_user_id, s32 session_id); 84 u32 process_handle, Kernel::KProcess& process, u64 applet_resource_user_id,
85 s32 session_id);
84 86
85 /** 87 /**
86 * Finalize the system. 88 * Finalize the system.
@@ -275,6 +277,8 @@ private:
275 Common::Event terminate_event{}; 277 Common::Event terminate_event{};
276 /// Does what locks do 278 /// Does what locks do
277 std::mutex lock{}; 279 std::mutex lock{};
280 /// Process this audio render is operating within, used for memory reads/writes.
281 Kernel::KProcess* process{};
278 /// Handle for the process for this system, unused 282 /// Handle for the process for this system, unused
279 u32 process_handle{}; 283 u32 process_handle{};
280 /// Applet resource id for this system, unused 284 /// Applet resource id for this system, unused