diff options
author | Lioncash <mathew1800@gmail.com> | 2022-09-21 16:00:53 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2022-09-21 16:00:57 +0200 |
commit | c891497b61a68c4e522bc42db5218c5a5268f91b (patch) | |
tree | 611052e4ed9a4642e634083570972e8e0d1ac015 /src/audio_core | |
parent | Merge pull request #8849 from Morph1984/parallel-astc (diff) | |
download | yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.tar yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.tar.gz yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.tar.bz2 yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.tar.lz yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.tar.xz yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.tar.zst yuzu-c891497b61a68c4e522bc42db5218c5a5268f91b.zip |
Diffstat (limited to 'src/audio_core')
-rw-r--r-- | src/audio_core/renderer/adsp/audio_renderer.cpp | 2 | ||||
-rw-r--r-- | src/audio_core/renderer/adsp/audio_renderer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/audio_core/renderer/adsp/audio_renderer.cpp b/src/audio_core/renderer/adsp/audio_renderer.cpp index bafe4822a..ab2257bd8 100644 --- a/src/audio_core/renderer/adsp/audio_renderer.cpp +++ b/src/audio_core/renderer/adsp/audio_renderer.cpp @@ -47,7 +47,7 @@ RenderMessage AudioRenderer_Mailbox::ADSPWaitMessage() { return msg; } -CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const s32 session_id) { +CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const u32 session_id) { return command_buffers[session_id]; } diff --git a/src/audio_core/renderer/adsp/audio_renderer.h b/src/audio_core/renderer/adsp/audio_renderer.h index 02e923c84..151f38c1b 100644 --- a/src/audio_core/renderer/adsp/audio_renderer.h +++ b/src/audio_core/renderer/adsp/audio_renderer.h @@ -83,7 +83,7 @@ public: * @param session_id - The session id to get (0 or 1). * @return The command buffer. */ - CommandBuffer& GetCommandBuffer(s32 session_id); + CommandBuffer& GetCommandBuffer(u32 session_id); /** * Set the command buffer with the given session id (0 or 1). |