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

Unified Diff: webrtc/voice_engine/channel.cc

Issue 2683033004: Enable cpplint and fix cpplint errors in webrtc/*audio (Closed)
Patch Set: Enable cpplint in webrtc/*audio Created 3 years, 9 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/voice_engine/channel.cc
diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc
index a9b9f3a92d848ae2a7179b626bf595c23f9e0769..bb25cea3b377ca24caa233d9c279fd589a31ac52 100644
--- a/webrtc/voice_engine/channel.cc
+++ b/webrtc/voice_engine/channel.cc
@@ -678,7 +678,7 @@ MixerParticipant::AudioFrameInfo Channel::GetAudioFrameWithMuted(
// Output volume scaling
if (output_gain < 0.99f || output_gain > 1.01f) {
- AudioFrameOperations::ScaleWithSat(output_gain, *audioFrame);
+ AudioFrameOperations::ScaleWithSat(output_gain, audioFrame);
}
// Scale left and/or right channel(s) if stereo and master balance is
@@ -695,7 +695,7 @@ MixerParticipant::AudioFrameInfo Channel::GetAudioFrameWithMuted(
// Do the panning operation (the audio frame contains stereo at this
// stage)
- AudioFrameOperations::Scale(left_pan, right_pan, *audioFrame);
+ AudioFrameOperations::Scale(left_pan, right_pan, audioFrame);
}
// Mix decoded PCM output with file if file mixing is enabled

Powered by Google App Engine
This is Rietveld 408576698