Home
last modified time | relevance | path

Searched refs:max_playback_rate (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/voice_engine/test/cmd_test/
Dvoe_cmd_test.cc777 int max_playback_rate; in RunTest() local
778 ASSERT_EQ(1, scanf("%i", &max_playback_rate)); in RunTest()
779 res = codec->SetOpusMaxPlaybackRate(chan, max_playback_rate); in RunTest()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc212 int GetOpusBitrate(const AudioCodec& codec, int max_playback_rate) { in GetOpusBitrate() argument
220 if (max_playback_rate <= 8000) { in GetOpusBitrate()
222 } else if (max_playback_rate <= 16000) { in GetOpusBitrate()
254 bool* enable_codec_fec, int* max_playback_rate, in GetOpusConfig() argument
258 *max_playback_rate = GetOpusMaxPlaybackRate(codec); in GetOpusConfig()
267 voe_codec->rate = GetOpusBitrate(codec, *max_playback_rate); in GetOpusConfig()