aboutsummaryrefslogtreecommitdiff
path: root/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.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/red/audio_encoder_copy_red.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/red/audio_encoder_copy_red.cc')
-rw-r--r--webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
index a54e01845b..46febf7662 100644
--- a/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
+++ b/webrtc/modules/audio_coding/codecs/red/audio_encoder_copy_red.cc
@@ -109,8 +109,8 @@ bool AudioEncoderCopyRed::SetApplication(Application application) {
return speech_encoder_->SetApplication(application);
}
-bool AudioEncoderCopyRed::SetMaxPlaybackRate(int frequency_hz) {
- return speech_encoder_->SetMaxPlaybackRate(frequency_hz);
+void AudioEncoderCopyRed::SetMaxPlaybackRate(int frequency_hz) {
+ speech_encoder_->SetMaxPlaybackRate(frequency_hz);
}
void AudioEncoderCopyRed::SetProjectedPacketLossRate(double fraction) {