aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/renderer/adsp/adsp.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-09-16 10:06:51 -0400
committerLioncash <mathew1800@gmail.com>2022-09-16 10:06:53 -0400
commit7e3cdfc453e27af80238d0ec9cd5005e1f189319 (patch)
tree639976fb344e1e47e4a63cde2d971b1dea319dfe /src/audio_core/renderer/adsp/adsp.cpp
parentd5d632264086756f0202d15ad7f1e20c49b64934 (diff)
audio_renderer: Pass command buffer by const reference
This is just being copied and isn't modified at all.
Diffstat (limited to 'src/audio_core/renderer/adsp/adsp.cpp')
-rw-r--r--src/audio_core/renderer/adsp/adsp.cpp2
1 files changed, 1 insertions, 1 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 {
return render_mailbox.GetRemainCommandCount(session_id);
}
-void ADSP::SendCommandBuffer(const u32 session_id, CommandBuffer& command_buffer) {
+void ADSP::SendCommandBuffer(const u32 session_id, const CommandBuffer& command_buffer) {
render_mailbox.SetCommandBuffer(session_id, command_buffer);
}