diff options
author | Liam <byteslice@airmail.cc> | 2024-02-21 02:02:36 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-21 04:15:37 +0100 |
commit | 6012c9fe3af1c649e5ac6392dc4b74bd3cfd0c4f (patch) | |
tree | 0c4925aa6e1c67ab3f91723c690ebfce90089356 /src/audio_core/renderer/behavior/info_updater.h | |
parent | audio: split IHardwarweOpusDecoder, move IHardwareOpusDecoderManager (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/audio_core/renderer/behavior/info_updater.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/audio_core/renderer/behavior/info_updater.h b/src/audio_core/renderer/behavior/info_updater.h index fb4b7d25a..4f27a817e 100644 --- a/src/audio_core/renderer/behavior/info_updater.h +++ b/src/audio_core/renderer/behavior/info_updater.h @@ -8,6 +8,10 @@ #include "common/common_types.h" #include "core/hle/service/audio/errors.h" +namespace Kernel { +class KProcess; +} + namespace AudioCore::Renderer { class BehaviorInfo; class VoiceContext; @@ -39,8 +43,8 @@ class InfoUpdater { static_assert(sizeof(UpdateDataHeader) == 0x40, "UpdateDataHeader has the wrong size!"); public: - explicit InfoUpdater(std::span<const u8> input, std::span<u8> output, u32 process_handle, - BehaviorInfo& behaviour); + explicit InfoUpdater(std::span<const u8> input, std::span<u8> output, + Kernel::KProcess* process_handle, BehaviorInfo& behaviour); /** * Update the voice channel resources. @@ -197,7 +201,7 @@ private: /// Expected output size, see CheckConsumedSize u64 expected_output_size; /// Unused - u32 process_handle; + Kernel::KProcess* process_handle; /// Behaviour BehaviorInfo& behaviour; }; |