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}
This commit is contained in:
@ -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) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user