Searched refs:AudioEncoderOpus (Results 1 – 5 of 5) sorted by relevance
26 AudioEncoderOpus::Config CreateConfig(const CodecInst& codec_inst) { in CreateConfig()27 AudioEncoderOpus::Config config; in CreateConfig()32 config.application = config.num_channels == 1 ? AudioEncoderOpus::kVoip in CreateConfig()33 : AudioEncoderOpus::kAudio; in CreateConfig()79 bool AudioEncoderOpus::Config::IsOk() const { in IsOk()91 AudioEncoderOpus::AudioEncoderOpus(const Config& config) in AudioEncoderOpus() function in webrtc::AudioEncoderOpus96 AudioEncoderOpus::AudioEncoderOpus(const CodecInst& codec_inst) in AudioEncoderOpus() function in webrtc::AudioEncoderOpus97 : AudioEncoderOpus(CreateConfig(codec_inst)) {} in AudioEncoderOpus()99 AudioEncoderOpus::~AudioEncoderOpus() { in ~AudioEncoderOpus()103 size_t AudioEncoderOpus::MaxEncodedBytes() const { in MaxEncodedBytes()[all …]
27 encoder_.reset(new AudioEncoderOpus(codec_inst_)); in CreateCodec()29 num_channels == 1 ? AudioEncoderOpus::kVoip : AudioEncoderOpus::kAudio; in CreateCodec()34 rtc::scoped_ptr<AudioEncoderOpus> encoder_;48 EXPECT_EQ(AudioEncoderOpus::kVoip, encoder_->application()); in TEST_F()57 EXPECT_EQ(AudioEncoderOpus::kAudio, encoder_->application()); in TEST_F()61 EXPECT_EQ(AudioEncoderOpus::kVoip, encoder_->application()); in TEST_F()66 EXPECT_EQ(AudioEncoderOpus::kVoip, encoder_->application()); in TEST_F()74 EXPECT_EQ(AudioEncoderOpus::kAudio, encoder_->application()); in TEST_F()119 void TestSetPacketLossRate(AudioEncoderOpus* encoder, in TestSetPacketLossRate()
24 class AudioEncoderOpus final : public AudioEncoder {53 explicit AudioEncoderOpus(const Config& config);54 explicit AudioEncoderOpus(const CodecInst& codec_inst);55 ~AudioEncoderOpus() override;97 RTC_DISALLOW_COPY_AND_ASSIGN(AudioEncoderOpus);
455 AudioEncoderOpus::Config config; in AudioDecoderOpusTest()458 config.application = AudioEncoderOpus::kVoip; in AudioDecoderOpusTest()459 audio_encoder_.reset(new AudioEncoderOpus(config)); in AudioDecoderOpusTest()469 AudioEncoderOpus::Config config; in AudioDecoderOpusStereoTest()473 config.application = AudioEncoderOpus::kAudio; in AudioDecoderOpusStereoTest()474 audio_encoder_.reset(new AudioEncoderOpus(config)); in AudioDecoderOpusStereoTest()
160 return rtc_make_scoped_ptr(new AudioEncoderOpus(speech_inst)); in CreateEncoder()