diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/audio_core/renderer/adsp/adsp.cpp | 2 | ||||
| -rw-r--r-- | src/audio_core/renderer/adsp/adsp.h | 2 | ||||
| -rw-r--r-- | src/audio_core/renderer/adsp/audio_renderer.cpp | 2 | ||||
| -rw-r--r-- | src/audio_core/renderer/adsp/audio_renderer.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_core/renderer/adsp/adsp.cpp b/src/audio_core/renderer/adsp/adsp.cpp index e05a22d86..a28395663 100644 --- a/src/audio_core/renderer/adsp/adsp.cpp +++ b/src/audio_core/renderer/adsp/adsp.cpp | |||
| @@ -50,7 +50,7 @@ u32 ADSP::GetRemainCommandCount(const u32 session_id) const { | |||
| 50 | return render_mailbox.GetRemainCommandCount(session_id); | 50 | return render_mailbox.GetRemainCommandCount(session_id); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | void ADSP::SendCommandBuffer(const u32 session_id, CommandBuffer& command_buffer) { | 53 | void ADSP::SendCommandBuffer(const u32 session_id, const CommandBuffer& command_buffer) { |
| 54 | render_mailbox.SetCommandBuffer(session_id, command_buffer); | 54 | render_mailbox.SetCommandBuffer(session_id, command_buffer); |
| 55 | } | 55 | } |
| 56 | 56 | ||
diff --git a/src/audio_core/renderer/adsp/adsp.h b/src/audio_core/renderer/adsp/adsp.h index 523184dc2..f7a2f25e4 100644 --- a/src/audio_core/renderer/adsp/adsp.h +++ b/src/audio_core/renderer/adsp/adsp.h | |||
| @@ -131,7 +131,7 @@ public: | |||
| 131 | * @param session_id - The session id to check (0 or 1). | 131 | * @param session_id - The session id to check (0 or 1). |
| 132 | * @param command_buffer - The command buffer to process. | 132 | * @param command_buffer - The command buffer to process. |
| 133 | */ | 133 | */ |
| 134 | void SendCommandBuffer(u32 session_id, CommandBuffer& command_buffer); | 134 | void SendCommandBuffer(u32 session_id, const CommandBuffer& command_buffer); |
| 135 | 135 | ||
| 136 | /** | 136 | /** |
| 137 | * Clear the command buffers (does not clear the time taken or the remaining command count) | 137 | * Clear the command buffers (does not clear the time taken or the remaining command count) |
diff --git a/src/audio_core/renderer/adsp/audio_renderer.cpp b/src/audio_core/renderer/adsp/audio_renderer.cpp index bcd889ecb..bafe4822a 100644 --- a/src/audio_core/renderer/adsp/audio_renderer.cpp +++ b/src/audio_core/renderer/adsp/audio_renderer.cpp | |||
| @@ -51,7 +51,7 @@ CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const s32 session_id) { | |||
| 51 | return command_buffers[session_id]; | 51 | return command_buffers[session_id]; |
| 52 | } | 52 | } |
| 53 | 53 | ||
| 54 | void AudioRenderer_Mailbox::SetCommandBuffer(const u32 session_id, CommandBuffer& buffer) { | 54 | void AudioRenderer_Mailbox::SetCommandBuffer(const u32 session_id, const CommandBuffer& buffer) { |
| 55 | command_buffers[session_id] = buffer; | 55 | command_buffers[session_id] = buffer; |
| 56 | } | 56 | } |
| 57 | 57 | ||
diff --git a/src/audio_core/renderer/adsp/audio_renderer.h b/src/audio_core/renderer/adsp/audio_renderer.h index 49f66f21c..02e923c84 100644 --- a/src/audio_core/renderer/adsp/audio_renderer.h +++ b/src/audio_core/renderer/adsp/audio_renderer.h | |||
| @@ -91,7 +91,7 @@ public: | |||
| 91 | * @param session_id - The session id to get (0 or 1). | 91 | * @param session_id - The session id to get (0 or 1). |
| 92 | * @param buffer - The command buffer to set. | 92 | * @param buffer - The command buffer to set. |
| 93 | */ | 93 | */ |
| 94 | void SetCommandBuffer(u32 session_id, CommandBuffer& buffer); | 94 | void SetCommandBuffer(u32 session_id, const CommandBuffer& buffer); |
| 95 | 95 | ||
| 96 | /** | 96 | /** |
| 97 | * Get the total render time taken for the last command lists sent. | 97 | * Get the total render time taken for the last command lists sent. |