diff options
| author | lioncash <mathew1900@hotmail.com> | 2013-03-19 21:51:12 -0400 |
|---|---|---|
| committer | lioncash <mathew1900@hotmail.com> | 2013-03-19 21:51:12 -0400 |
| commit | edd9d0e0ef6898a0528ac6389e93e9fca6132ff6 (patch) | |
| tree | 9e3884aa1b3db3499806995adf6627d05308b8da /Source/Core/AudioCommon/Src/WaveFile.cpp | |
| parent | 0e3d8e2e9f1b3eab593b09be986c4ff12a0221e2 (diff) | |
Clean up more space/tab mismatches in AudioCommon, Common, and VideoCommon.
Not planning to touch Core since it's the most actively changed part of the project.
Diffstat (limited to 'Source/Core/AudioCommon/Src/WaveFile.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Src/WaveFile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/AudioCommon/Src/WaveFile.cpp b/Source/Core/AudioCommon/Src/WaveFile.cpp index d98348b8bf..3cab3cea68 100644 --- a/Source/Core/AudioCommon/Src/WaveFile.cpp +++ b/Source/Core/AudioCommon/Src/WaveFile.cpp @@ -104,21 +104,21 @@ void WaveFileWriter::AddStereoSamples(const short *sample_data, u32 count) { if (!file) PanicAlertT("WaveFileWriter - file not open."); - + if (skip_silence) { bool all_zero = true; - + for (u32 i = 0; i < count * 2; i++) { if (sample_data[i]) all_zero = false; } - + if (all_zero) return; } - + file.WriteBytes(sample_data, count * 4); audio_size += count * 4; } @@ -134,7 +134,7 @@ void WaveFileWriter::AddStereoSamplesBE(const short *sample_data, u32 count) if (skip_silence) { bool all_zero = true; - + for (u32 i = 0; i < count * 2; i++) { if (sample_data[i]) |
