Searched refs:AudioEncoderPcmU (Results 1 – 6 of 6) sorted by relevance
120 AudioEncoderPcmU::AudioEncoderPcmU(const CodecInst& codec_inst) in AudioEncoderPcmU() function in webrtc::AudioEncoderPcmU121 : AudioEncoderPcmU(CreateConfig<AudioEncoderPcmU>(codec_inst)) {} in AudioEncoderPcmU()123 size_t AudioEncoderPcmU::EncodeCall(const int16_t* audio, in EncodeCall()129 size_t AudioEncoderPcmU::BytesPerSample() const { in BytesPerSample()
93 class AudioEncoderPcmU final : public AudioEncoderPcm {99 explicit AudioEncoderPcmU(const Config& config) in AudioEncoderPcmU() function101 explicit AudioEncoderPcmU(const CodecInst& codec_inst);112 RTC_DISALLOW_COPY_AND_ASSIGN(AudioEncoderPcmU);
54 AudioEncoderPcmU::Config config; in SetUp()56 encoder_.reset(new AudioEncoderPcmU(config)); in SetUp()79 rtc::scoped_ptr<AudioEncoderPcmU> encoder_;
1635 AudioEncoderPcmU encoder(codec_inst); in TEST_F()1641 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::MaxEncodedBytes)); in TEST_F()1644 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::SampleRateHz)); in TEST_F()1647 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::NumChannels)); in TEST_F()1650 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::RtpTimestampRateHz)); in TEST_F()1654 Invoke(&encoder, &AudioEncoderPcmU::Num10MsFramesInNextPacket)); in TEST_F()1657 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::GetTargetBitrate)); in TEST_F()1660 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::EncodeInternal)); in TEST_F()1663 .WillRepeatedly(Invoke(&encoder, &AudioEncoderPcmU::SetFec)); in TEST_F()
163 return rtc_make_scoped_ptr(new AudioEncoderPcmU(speech_inst)); in CreateEncoder()
293 AudioEncoderPcmU::Config config; in AudioDecoderPcmUTest()296 audio_encoder_.reset(new AudioEncoderPcmU(config)); in AudioDecoderPcmUTest()