From a6b04f53e09810d4a9a1db37c23636889e54dfbe Mon Sep 17 00:00:00 2001 From: "Dr. Dystopia" Date: Thu, 22 May 2025 11:28:52 +0200 Subject: AudioCommon: Remove unused qualifiers and make variables constant --- Source/Core/AudioCommon/SurroundDecoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/AudioCommon/SurroundDecoder.cpp') diff --git a/Source/Core/AudioCommon/SurroundDecoder.cpp b/Source/Core/AudioCommon/SurroundDecoder.cpp index ffc0b00a2f..acab16816c 100644 --- a/Source/Core/AudioCommon/SurroundDecoder.cpp +++ b/Source/Core/AudioCommon/SurroundDecoder.cpp @@ -32,7 +32,7 @@ size_t SurroundDecoder::QueryFramesNeededForSurroundOutput(const size_t output_f if (m_decoded_fifo.size() < output_frames * SURROUND_CHANNELS) { // Output stereo frames needed to have at least the desired number of surround frames - size_t frames_needed = output_frames - m_decoded_fifo.size() / SURROUND_CHANNELS; + size_t const frames_needed = output_frames - m_decoded_fifo.size() / SURROUND_CHANNELS; return frames_needed + m_frame_block_size - frames_needed % m_frame_block_size; } -- cgit v1.2.3