AudioCommon: Use left const for non-pointer variables
This commit is contained in:
1 parent
c05b231015
commit
f5dfb7e3d3
6 files changed
+22
-22
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user