Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: webrtc/common_audio/resampler/resampler.cc

Issue 1172163004: Reformat existing code. There should be no functional effects. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Resync Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/common_audio/resampler/resampler.cc
diff --git a/webrtc/common_audio/resampler/resampler.cc b/webrtc/common_audio/resampler/resampler.cc
index f65742e27655aa493d41451b24a5be4ed801c66f..bfaeffcb71b8db2c42be32519f72ac1685614afb 100644
--- a/webrtc/common_audio/resampler/resampler.cc
+++ b/webrtc/common_audio/resampler/resampler.cc
@@ -840,8 +840,7 @@ int Resampler::Push(const int16_t * samplesIn, int lengthIn,
outLen = lengthIn / 3;
free(tmp_mem);
// 4:2
- WebRtcSpl_DownsampleBy2(tmp, outLen, tmp_2,
- (int32_t*) state2_);
+ WebRtcSpl_DownsampleBy2(tmp, outLen, tmp_2, (int32_t*) state2_);
outLen = outLen / 2;
free(tmp);
// 2:1
@@ -900,7 +899,8 @@ int Resampler::Push(const int16_t * samplesIn, int lengthIn,
}
lengthIn = (lengthIn * 4) / 11;
- WebRtcSpl_DownsampleBy2(tmp, lengthIn, samplesOut, (int32_t*)state2_);
+ WebRtcSpl_DownsampleBy2(tmp, lengthIn, samplesOut,
+ (int32_t*)state2_);
outLen = lengthIn / 2;
free(tmp_mem);

Powered by Google App Engine
This is Rietveld 408576698