Home | History | Annotate | Download | only in base

Lines Matching full:clockrate

91 Codec::Codec(int id, const std::string& name, int clockrate, int preference)
92 : id(id), name(name), clockrate(clockrate), preference(preference) {
95 Codec::Codec() : id(0), clockrate(0), preference(0) {
105 clockrate = c.clockrate;
114 name == c.name && clockrate == c.clockrate &&
168 int clockrate,
172 : Codec(id, name, clockrate, preference),
194 // If a nonzero clockrate is specified, it must match the actual clockrate.
202 // TODO(juberti): Treat a zero clockrate as 8000Hz, the RTP default clockrate.
204 ((codec.clockrate == 0 /*&& clockrate == 8000*/) ||
205 clockrate == codec.clockrate) &&
212 os << "AudioCodec[" << id << ":" << name << ":" << clockrate << ":" << bitrate
244 clockrate = kVideoCodecClockrate;
316 clockrate = kDataCodecClockrate;