Add new AudioEncoderOpusTest
This test will replace AcmOpusTest when ACMOpus is removed. The old AcmOpusTest also contains tests for setting and updating the "application" setting in Opus. However, in the new AudioEncoderOpus class, the application is trivially set in the Config struct at construction, wherefore a test is no longer needed. BUG=3926 R=minyue@webrtc.org Review URL: https://webrtc-codereview.appspot.com/37929004 Cr-Commit-Position: refs/heads/master@{#8244} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8244 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -49,6 +49,7 @@ class AudioEncoderOpus final : public AudioEncoder {
|
||||
virtual int Max10MsFramesInAPacket() const OVERRIDE;
|
||||
void SetTargetBitrate(int bits_per_second) override;
|
||||
void SetProjectedPacketLossRate(double fraction) override;
|
||||
double packet_loss_rate() const { return packet_loss_rate_; }
|
||||
|
||||
protected:
|
||||
virtual bool EncodeInternal(uint32_t rtp_timestamp,
|
||||
|
||||
Reference in New Issue
Block a user