diff options
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/OpenALStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/AudioCommon/OpenALStream.cpp b/Source/Core/AudioCommon/OpenALStream.cpp index 6b19f1e444..57c2e286d6 100644 --- a/Source/Core/AudioCommon/OpenALStream.cpp +++ b/Source/Core/AudioCommon/OpenALStream.cpp @@ -172,7 +172,7 @@ void OpenALStream::SoundLoop() ALint iBuffersFilled = 0; ALint iBuffersProcessed = 0; ALint iState = 0; - ALuint uiBufferTemp[OAL_MAX_BUFFERS] = {0}; + ALuint uiBufferTemp[OAL_MAX_BUFFERS] = { 0 }; soundTouch.setChannels(2); soundTouch.setSampleRate(ulFrequency); @@ -255,7 +255,7 @@ void OpenALStream::SoundLoop() // good 5.0 but not a good 5.1 output. Sadly there is not a 5.0 // AL_FORMAT_50CHN32 to make this super-explicit. // DPL2Decode output: LEFTFRONT, RIGHTFRONT, CENTREFRONT, (sub), LEFTREAR, RIGHTREAR - for (u32 i=0; i < nSamples; ++i) + for (u32 i = 0; i < nSamples; ++i) { dpl2[i*SURROUND_CHANNELS + 3 /*sub/lfe*/] = 0.0f; } |
