From 7cb0054d7739f90e96aa2273c02b098af3a30e73 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Mon, 11 Jul 2022 18:35:43 -0700 Subject: [PATCH] [FreeSurround] Change another variable to const This should be const anyway, as it's not written to. Signed-off-by: Christopher Snowhill --- Audio/ThirdParty/fsurround/freesurround_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Audio/ThirdParty/fsurround/freesurround_decoder.cpp b/Audio/ThirdParty/fsurround/freesurround_decoder.cpp index 361dfb59b..c13608f4f 100755 --- a/Audio/ThirdParty/fsurround/freesurround_decoder.cpp +++ b/Audio/ThirdParty/fsurround/freesurround_decoder.cpp @@ -201,7 +201,7 @@ class decoder_impl { } // decode a block of data and overlap-add it into outbuf - void buffered_decode(float *input) { + void buffered_decode(const float *input) { // demultiplex and apply window function vDSP_vspdp(input, 2, <[0], 1, N); vDSP_vspdp(input + 1, 2, &rt[0], 1, N);