aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/adsp/audio_renderer.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-21 10:00:53 -0400
committerLioncash <mathew1800@gmail.com>2022-09-21 10:00:57 -0400
commitc891497b61a68c4e522bc42db5218c5a5268f91b (patch)
tree611052e4ed9a4642e634083570972e8e0d1ac015 /src/audio_core/renderer/adsp/audio_renderer.h
parent8d4458ef24e473e57b9931d7a9d1442b51fb0b1a (diff)
audio_renderer: Make GetCommandBuffer() take a u32
This function is only ever called with unsigned types, and all of the other interface functions take session_id as a u32, so this makes the class a little more consistent.
Diffstat (limited to 'src/audio_core/renderer/adsp/audio_renderer.h')
-rw-r--r--src/audio_core/renderer/adsp/audio_renderer.h2
1 files changed, 1 insertions, 1 deletions
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).