audio_renderer: Pass command buffer by const reference

This is just being copied and isn't modified at all.
This commit is contained in:
Lioncash
2022-09-16 10:06:51 -04:00
parent d5d6322640
commit 7e3cdfc453
4 changed files with 4 additions and 4 deletions

View File

@ -131,7 +131,7 @@ public:
* @param session_id - The session id to check (0 or 1).
* @param command_buffer - The command buffer to process.
*/
void SendCommandBuffer(u32 session_id, CommandBuffer& command_buffer);
void SendCommandBuffer(u32 session_id, const CommandBuffer& command_buffer);
/**
* Clear the command buffers (does not clear the time taken or the remaining command count)