aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/codecs/audio_encoder.cc
diff options
context:
space:
mode:
authorkwiberg <kwiberg@webrtc.org>2015-09-08 23:15:33 -0700
committerCommit bot <commit-bot@chromium.org>2015-09-09 06:15:41 +0000
commit3f5f1c2ad305a665fb2ecd3e31c57d405e19af97 (patch)
treefd68f111780d5db029bb518209a4aece69c54b9b /webrtc/modules/audio_coding/codecs/audio_encoder.cc
parente9e7896293747b2084e7f018675276f5096cdafc (diff)
downloadwebrtc-3f5f1c2ad305a665fb2ecd3e31c57d405e19af97.tar.gz
Change return type of AudioEncoder::SetMaxPlaybackRate to void
There's no point in returning a status code, since the max playback rate is only a suggestion that the encoder is free to disregard. Review URL: https://codereview.webrtc.org/1332573003 Cr-Commit-Position: refs/heads/master@{#9900}
Diffstat (limited to 'webrtc/modules/audio_coding/codecs/audio_encoder.cc')
-rw-r--r--webrtc/modules/audio_coding/codecs/audio_encoder.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/webrtc/modules/audio_coding/codecs/audio_encoder.cc b/webrtc/modules/audio_coding/codecs/audio_encoder.cc
index eb553a7e7d..8974cf18bc 100644
--- a/webrtc/modules/audio_coding/codecs/audio_encoder.cc
+++ b/webrtc/modules/audio_coding/codecs/audio_encoder.cc
@@ -46,9 +46,7 @@ bool AudioEncoder::SetApplication(Application application) {
return false;
}
-bool AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {
- return true;
-}
+void AudioEncoder::SetMaxPlaybackRate(int frequency_hz) {}
void AudioEncoder::SetProjectedPacketLossRate(double fraction) {}