Home
last modified time | relevance | path

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

/external/chromium/third_party/libjingle/source/talk/session/phone/
Dcodec.h35 struct AudioCodec { struct
45 AudioCodec(int pt, const std::string& nm, int cr, int br, int cs, int pr) in AudioCodec() argument
50 AudioCodec() : id(0), clockrate(0), bitrate(0), channels(0), preference(0) {} in AudioCodec() argument
54 bool Matches(const AudioCodec& codec) const;
56 static bool Preferable(const AudioCodec& first, const AudioCodec& other) { in Preferable() argument
62 AudioCodec& operator=(const AudioCodec& c) {
72 bool operator==(const AudioCodec& c) const {
81 bool operator!=(const AudioCodec& c) const {
Dmediaengine.h141 virtual const std::vector<AudioCodec>& audio_codecs() = 0;
143 virtual bool FindAudioCodec(const AudioCodec &codec) = 0;
222 virtual const std::vector<AudioCodec>& audio_codecs() { in audio_codecs()
229 virtual bool FindAudioCodec(const AudioCodec &codec) { in FindAudioCodec()
261 virtual bool SetRecvCodecs(const std::vector<AudioCodec> &codecs) { in SetRecvCodecs()
264 virtual bool SetSendCodecs(const std::vector<AudioCodec> &codecs) { in SetSendCodecs()
301 const std::vector<AudioCodec>& codecs() { return codecs_; } in codecs()
302 bool FindCodec(const AudioCodec&) { return false; } in FindCodec() argument
305 std::vector<AudioCodec> codecs_;
Dcodec.cc35 bool AudioCodec::Matches(int payload, const std::string& nm) const { in Matches()
40 bool AudioCodec::Matches(const AudioCodec& codec) const { in Matches()
54 std::string AudioCodec::ToString() const { in ToString()
Dfilemediaengine.h72 void set_voice_codecs(const std::vector<AudioCodec>& codecs) { in set_voice_codecs()
101 virtual const std::vector<AudioCodec>& audio_codecs() { in audio_codecs()
107 virtual bool FindAudioCodec(const AudioCodec& codec) { return true; } in FindAudioCodec()
117 std::vector<AudioCodec> voice_codecs_;
131 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) { in SetRecvCodecs()
134 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs);
Dmediasessionclient.cc272 AudioCodec negotiated(*ours); in CreateAnswer()
443 bool ParseGingleAudioCodec(const buzz::XmlElement* element, AudioCodec* out) { in ParseGingleAudioCodec()
452 *out = AudioCodec(id, name, clockrate, bitrate, channels, 0); in ParseGingleAudioCodec()
553 AudioCodec codec; in ParseGingleAudioContent()
561 audio->AddCodec(AudioCodec(103, "ISAC", 16000, -1, 1, 1)); in ParseGingleAudioContent()
562 audio->AddCodec(AudioCodec(0, "PCMU", 8000, 64000, 1, 0)); in ParseGingleAudioContent()
651 bool ParseJingleAudioCodec(const buzz::XmlElement* elem, AudioCodec* codec) { in ParseJingleAudioCodec()
664 *codec = AudioCodec(id, name, clockrate, bitrate, channels, 0); in ParseJingleAudioCodec()
694 AudioCodec codec; in ParseJingleAudioContent()
761 buzz::XmlElement* CreateGingleAudioCodecElem(const AudioCodec& codec) { in CreateGingleAudioCodecElem()
[all …]
Dchannelmanager.h79 void GetSupportedAudioCodecs(std::vector<AudioCodec>* codecs) const;
84 bool FindAudioCodec(const AudioCodec& codec) const { in FindAudioCodec()
Dmediasessionclient.h51 typedef std::vector<AudioCodec> AudioCodecs;
241 class AudioContentDescription : public MediaContentDescriptionImpl<AudioCodec> {
Dmediachannel.h211 virtual bool SetRecvCodecs(const std::vector<AudioCodec>& codecs) = 0;
213 virtual bool SetSendCodecs(const std::vector<AudioCodec>& codecs) = 0;
Dfilemediaengine.cc216 bool FileVoiceChannel::SetSendCodecs(const std::vector<AudioCodec>& codecs) { in SetSendCodecs()
Dchannelmanager.cc186 std::vector<AudioCodec>* codecs) const { in GetSupportedAudioCodecs()
189 for (std::vector<AudioCodec>::const_iterator it = in GetSupportedAudioCodecs()
/external/chromium/third_party/libjingle/source/talk/examples/call/
Dcall_main.cc197 std::vector<cricket::AudioCodec> voice_codecs; in CreateFileMediaEngine()
199 cricket::AudioCodec(9, "G722", 16000, 0, 1, 0)); in CreateFileMediaEngine()