Drop deprecated AudioFrameOperations::Scale method signatures

Context:
https://codereview.webrtc.org/2739073003/diff/280003/webrtc/audio/utility/audio_frame_operations.h
To satisfy cpplint, the signature of the Scale* methods needed to be changed from a reference to a pointer. However, not to break internal users, the old signature was kept temporarily. Now it can be removed because it's not used anymore.

BUG=webrtc:5268

Review-Url: https://codereview.webrtc.org/2861003004
Cr-Commit-Position: refs/heads/master@{#18064}
This commit is contained in:
oprypin 2017-05-09 02:43:51 -07:00 committed by Commit bot
parent 2e3574dd18
commit 99d9f61ad7

View File

@ -115,17 +115,7 @@ class AudioFrameOperations {
static int Scale(float left, float right, 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