diff options
Diffstat (limited to 'src/audio_core/renderer/system.h')
| -rw-r--r-- | src/audio_core/renderer/system.h | 6 |
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 | ||
| 30 | namespace Kernel { | 30 | namespace Kernel { |
| 31 | class KEvent; | 31 | class KEvent; |
| 32 | class KProcess; | ||
| 32 | class KTransferMemory; | 33 | class 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 |