mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
A bunch of trivial changes to fix clang warnings.
This commit is contained in:
parent
d41eb76378
commit
fd7cf5bb71
26 changed files with 20 additions and 37 deletions
|
@ -210,7 +210,7 @@ unsigned int CMixer::GetNumSamples()
|
|||
u32 numSamples = ((Common::AtomicLoad(m_indexW) - Common::AtomicLoad(m_indexR)) & INDEX_MASK) / 2;
|
||||
|
||||
if (AudioInterface::GetAIDSampleRate() == m_sampleRate)
|
||||
numSamples = numSamples; // 1:1
|
||||
; //numSamples = numSamples; // 1:1
|
||||
else if (m_sampleRate == 48000 && AudioInterface::GetAIDSampleRate() == 32000)
|
||||
numSamples = numSamples * 3 / 2 - 2; // most common case
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue