Merge pull request #8939 from lioncash/render
audio_renderer: Make GetCommandBuffer() take a u32
This commit is contained in:
commit
c2c3f2c3e7
|
@ -47,7 +47,7 @@ RenderMessage AudioRenderer_Mailbox::ADSPWaitMessage() {
|
||||||
return msg;
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const s32 session_id) {
|
CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const u32 session_id) {
|
||||||
return command_buffers[session_id];
|
return command_buffers[session_id];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ public:
|
||||||
* @param session_id - The session id to get (0 or 1).
|
* @param session_id - The session id to get (0 or 1).
|
||||||
* @return The command buffer.
|
* @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).
|
* Set the command buffer with the given session id (0 or 1).
|
||||||
|
|
Reference in New Issue