diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-08-30 16:29:15 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-08-30 18:06:42 -0400 |
| commit | f94e764df52eba37bc1b800112d0c3e02f6455d1 (patch) | |
| tree | 2289b335c2babba85f012c3aa83391dde5fab2fd /Source/Core/AudioCommon/Mixer.cpp | |
| parent | ba4934b75eb13cc04a54efd54a9d6f286d255083 (diff) | |
AudioCommon: Clean up brace placements
Diffstat (limited to 'Source/Core/AudioCommon/Mixer.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Mixer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Mixer.cpp b/Source/Core/AudioCommon/Mixer.cpp index 080dc40005..70accf240f 100644 --- a/Source/Core/AudioCommon/Mixer.cpp +++ b/Source/Core/AudioCommon/Mixer.cpp @@ -57,7 +57,8 @@ unsigned int CMixer::MixerFifo::Mix(short* samples, unsigned int numSamples, boo s32 rvolume = m_RVolume; // TODO: consider a higher-quality resampling algorithm. - for (; currentSample < numSamples*2 && ((indexW-indexR) & INDEX_MASK) > 2; currentSample+=2) { + for (; currentSample < numSamples*2 && ((indexW-indexR) & INDEX_MASK) > 2; currentSample+=2) + { u32 indexR2 = indexR + 2; //next sample s16 l1 = Common::swap16(m_buffer[indexR & INDEX_MASK]); //current |
