Home
last modified time | relevance | path

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

/external/webrtc/media/engine/
Dwebrtc_voice_engine.cc1755 for (const AudioCodec& cn_codec : codecs) { in SetSendCodecs() local
1756 if (IsCodec(cn_codec, kCnCodecName) && in SetSendCodecs()
1757 cn_codec.clockrate == send_codec_spec->format.clockrate_hz && in SetSendCodecs()
1758 cn_codec.channels == voice_codec_info->num_channels) { in SetSendCodecs()
1759 if (cn_codec.channels != 1) { in SetSendCodecs()
1761 << "CN #channels " << cn_codec.channels << " not supported."; in SetSendCodecs()
1762 } else if (cn_codec.clockrate != 8000 && cn_codec.clockrate != 16000 && in SetSendCodecs()
1763 cn_codec.clockrate != 32000) { in SetSendCodecs()
1765 << "CN frequency " << cn_codec.clockrate << " not supported."; in SetSendCodecs()
1767 send_codec_spec->cng_payload_type = cn_codec.id; in SetSendCodecs()