summaryrefslogtreecommitdiffstats
path: root/src/audio_core/renderer/system.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-21 02:02:36 +0100
committerLiam <byteslice@airmail.cc>2024-02-21 04:15:37 +0100
commit6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f (patch)
tree0c4925aa6e1c67ab3f91723c690ebfce90089356 /src/audio_core/renderer/system.h
parentaudio: split IHardwarweOpusDecoder, move IHardwareOpusDecoderManager (diff)
downloadyuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.tar
yuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.tar.gz
yuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.tar.bz2
yuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.tar.lz
yuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.tar.xz
yuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.tar.zst
yuzu-6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f.zip
Diffstat (limited to 'src/audio_core/renderer/system.h')
-rw-r--r--src/audio_core/renderer/system.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/audio_core/renderer/system.h b/src/audio_core/renderer/system.h
index 753a0b796..3533a74ef 100644
--- a/src/audio_core/renderer/system.h
+++ b/src/audio_core/renderer/system.h
@@ -74,14 +74,14 @@ public:
* @param params - Input parameters to initialize the system with.
* @param transfer_memory - Game-supplied memory for all workbuffers. Unused.
* @param transfer_memory_size - Size of the transfer memory. Unused.
- * @param process_handle - Process handle, also used for memory. Unused.
+ * @param process_handle - Process handle, also used for memory.
* @param applet_resource_user_id - Applet id for this renderer. Unused.
* @param session_id - Session id of this renderer.
* @return Result code.
*/
Result Initialize(const AudioRendererParameterInternal& params,
Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size,
- u32 process_handle, Kernel::KProcess& process, u64 applet_resource_user_id,
+ Kernel::KProcess* process_handle, u64 applet_resource_user_id,
s32 session_id);
/**
@@ -278,9 +278,7 @@ private:
/// Does what locks do
std::mutex lock{};
/// Process this audio render is operating within, used for memory reads/writes.
- Kernel::KProcess* process{};
- /// Handle for the process for this system, unused
- u32 process_handle{};
+ Kernel::KProcess* process_handle{};
/// Applet resource id for this system, unused
u64 applet_resource_user_id{};
/// Controls performance input and output