summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/OpenALStream.cpp
diff options
context:
space:
mode:
authorStevoisiak <Stevoisiak@gmail.com>2015-02-15 14:43:31 -0500
committerStevoisiak <Stevoisiak@gmail.com>2015-02-25 10:48:21 -0500
commit93b16a4a2d5f3e6d467d1315c461aff12852b26c (patch)
tree0993e6ce422ae33a850466e8da285421a462e79f /Source/Core/AudioCommon/OpenALStream.cpp
parentb8edd8aedc75ae4e2abd8c5558af94e98c7bebcb (diff)
Formatting/Whitespace Cleanup
Various fixes to formatting and whitespace
Diffstat (limited to 'Source/Core/AudioCommon/OpenALStream.cpp')
-rw-r--r--Source/Core/AudioCommon/OpenALStream.cpp4
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;
}