| Index: webrtc/audio/utility/audio_frame_operations.h
|
| diff --git a/webrtc/audio/utility/audio_frame_operations.h b/webrtc/audio/utility/audio_frame_operations.h
|
| index de6fdc472d710074ed603600ce73b8a493165447..56f318fadeacd7c2dd6a482318ac1291458f3842 100644
|
| --- a/webrtc/audio/utility/audio_frame_operations.h
|
| +++ b/webrtc/audio/utility/audio_frame_operations.h
|
| @@ -113,9 +113,19 @@ class AudioFrameOperations {
|
| // Halve samples in |frame|.
|
| static void ApplyHalfGain(AudioFrame* frame);
|
|
|
| - static int Scale(float left, float right, AudioFrame& frame);
|
| + static int Scale(float left, float right, AudioFrame* frame);
|
|
|
| - static int ScaleWithSat(float scale, AudioFrame& frame);
|
| + static int Scale(float left, float right, AudioFrame& frame) { // NOLINT
|
| + // TODO(oprypin): drop this method
|
| + return Scale(left, right, &frame);
|
| + }
|
| +
|
| + static int ScaleWithSat(float scale, AudioFrame* frame);
|
| +
|
| + static int ScaleWithSat(float scale, AudioFrame& frame) { // NOLINT
|
| + // TODO(oprypin): drop this method
|
| + return ScaleWithSat(scale, &frame);
|
| + }
|
| };
|
|
|
| } // namespace webrtc
|
|
|