summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/SurroundDecoder.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2025-06-07 17:45:33 -0500
committerGitHub <noreply@github.com>2025-06-07 17:45:33 -0500
commita07a2fe398146fa9acf2891818dc418dfbd7a357 (patch)
tree145f0d9b6e9cf0a1682b7d6cef2949e18dda0b33 /Source/Core/AudioCommon/SurroundDecoder.cpp
parent52fcdde4852ccab197092da37b00548e33844d85 (diff)
parenta6b04f53e09810d4a9a1db37c23636889e54dfbe (diff)
Merge pull request #13698 from tygyh/AudioCommon/Remove-unused-qualifiers-and-make-variables-constant
AudioCommon: Remove unused qualifiers and make variables constant
Diffstat (limited to 'Source/Core/AudioCommon/SurroundDecoder.cpp')
-rw-r--r--Source/Core/AudioCommon/SurroundDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}