Remove AudioEncoder methods SetMaxBitrate and SetMaxPayloadSize

And the corresponding ACM methods SetISACMaxRate and
SetISACMaxPayloadSize. They were only used in tests.

Review URL: https://codereview.webrtc.org/1311533010

Cr-Commit-Position: refs/heads/master@{#9903}
This commit is contained in:
kwiberg
2015-09-09 00:54:07 -07:00
committed by Commit bot
parent d944067a03
commit c99ebc1490
13 changed files with 0 additions and 158 deletions

View File

@ -138,16 +138,6 @@ class AudioEncoder {
// encoder is free to adjust or disregard the given bitrate (the default
// implementation does the latter).
virtual void SetTargetBitrate(int target_bps);
// Sets the maximum bitrate which must not be exceeded for any packet. The
// encoder is free to adjust or disregard this value (the default
// implementation does the latter).
virtual void SetMaxBitrate(int max_bps);
// Sets an upper limit on the size of packet payloads produced by the
// encoder. The encoder is free to adjust or disregard this value (the
// default implementation does the latter).
virtual void SetMaxPayloadSize(int max_payload_size_bytes);
};
} // namespace webrtc
#endif // WEBRTC_MODULES_AUDIO_CODING_CODECS_AUDIO_ENCODER_H_