summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/SurroundDecoder.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-03-24 00:25:53 -0500
committerGitHub <noreply@github.com>2026-03-24 00:25:53 -0500
commit2b6667a98db9d0d9b8b7f8ae6a2e82b9c84c3e53 (patch)
tree2d26de0e4d3728a40b1db5ca23bd76beeecdb0eb /Source/Core/AudioCommon/SurroundDecoder.cpp
parentc05b231015375a88ecb4c4eea69862c8c75b809c (diff)
parentf5dfb7e3d36ce24551ed0bb886b79f3f192dac9d (diff)
Merge pull request #14505 from Dentomologist/audiocommon_use_left_const_for_nonpointer_variables
AudioCommon: Use left const for non-pointer variables
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 acab16816c..91290d4335 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 const frames_needed = output_frames - m_decoded_fifo.size() / SURROUND_CHANNELS;
+ const size_t frames_needed = output_frames - m_decoded_fifo.size() / SURROUND_CHANNELS;
return frames_needed + m_frame_block_size - frames_needed % m_frame_block_size;
}