Home
last modified time | relevance | path

Searched refs:audio_encoder (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc487 int SetAndGetTargetBitrate(AudioEncoder* audio_encoder, int rate) { in SetAndGetTargetBitrate() argument
488 audio_encoder->SetTargetBitrate(rate); in SetAndGetTargetBitrate()
489 return audio_encoder->GetTargetBitrate(); in SetAndGetTargetBitrate()
491 void TestSetAndGetTargetBitratesWithFixedCodec(AudioEncoder* audio_encoder, in TestSetAndGetTargetBitratesWithFixedCodec() argument
493 EXPECT_EQ(fixed_rate, SetAndGetTargetBitrate(audio_encoder, 32000)); in TestSetAndGetTargetBitratesWithFixedCodec()
494 EXPECT_EQ(fixed_rate, SetAndGetTargetBitrate(audio_encoder, fixed_rate - 1)); in TestSetAndGetTargetBitratesWithFixedCodec()
495 EXPECT_EQ(fixed_rate, SetAndGetTargetBitrate(audio_encoder, fixed_rate)); in TestSetAndGetTargetBitratesWithFixedCodec()
496 EXPECT_EQ(fixed_rate, SetAndGetTargetBitrate(audio_encoder, fixed_rate + 1)); in TestSetAndGetTargetBitratesWithFixedCodec()
626 void TestOpusSetTargetBitrates(AudioEncoder* audio_encoder) { in TestOpusSetTargetBitrates() argument
627 EXPECT_EQ(500, SetAndGetTargetBitrate(audio_encoder, 499)); in TestOpusSetTargetBitrates()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/
Dinterfaces.gypi24 'audio_encoder.cc',
25 'audio_encoder.h',
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_impl.cc136 AudioEncoder* audio_encoder = rent_a_codec_.GetEncoderStack(); in Encode() local
144 audio_encoder->SampleRateHz(), in Encode()
145 audio_encoder->RtpTimestampRateHz()))); in Encode()
150 encode_buffer_.SetSize(audio_encoder->MaxEncodedBytes()); in Encode()
151 encoded_info = audio_encoder->Encode( in Encode()
157 bitrate_logger_.MaybeLog(audio_encoder->GetTargetBitrate() / 1000); in Encode()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMediaRecorder.java58 public void setAudioEncoder(int audio_encoder) { in setAudioEncoder() argument
59 audioEncoder = audio_encoder; in setAudioEncoder()
/external/webrtc/webrtc/modules/audio_coding/
DBUILD.gn147 "codecs/audio_encoder.cc",
148 "codecs/audio_encoder.h",