Lines Matching refs:AudioCodec
31 using cricket::AudioCodec;
84 AudioCodec c0(96, "A", 44100, 20000, 2, 3);
85 AudioCodec c1(95, "A", 44100, 20000, 2, 3);
86 AudioCodec c2(96, "x", 44100, 20000, 2, 3);
87 AudioCodec c3(96, "A", 48000, 20000, 2, 3);
88 AudioCodec c4(96, "A", 44100, 10000, 2, 3);
89 AudioCodec c5(96, "A", 44100, 20000, 1, 3);
90 AudioCodec c6(96, "A", 44100, 20000, 2, 1);
98 AudioCodec c7;
99 AudioCodec c8(0, "", 0, 0, 0, 0);
100 AudioCodec c9 = c0;
105 AudioCodec c10(c0);
106 AudioCodec c11(c0);
107 AudioCodec c12(c0);
108 AudioCodec c13(c0);
124 AudioCodec c0(95, "A", 44100, 20000, 1, 3);
125 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 1, 0)));
126 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 0, 0)));
127 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 0, 0, 0)));
128 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 0, 0, 0, 0)));
129 EXPECT_FALSE(c0.Matches(AudioCodec(96, "", 44100, 20000, 1, 0)));
130 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 20000, 1, 0)));
131 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 30000, 1, 0)));
132 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 20000, 2, 0)));
133 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 30000, 2, 0)));
136 AudioCodec c1(96, "A", 44100, 20000, 1, 3);
137 EXPECT_TRUE(c1.Matches(AudioCodec(96, "A", 0, 0, 0, 0)));
138 EXPECT_TRUE(c1.Matches(AudioCodec(97, "A", 0, 0, 0, 0)));
139 EXPECT_TRUE(c1.Matches(AudioCodec(96, "a", 0, 0, 0, 0)));
140 EXPECT_TRUE(c1.Matches(AudioCodec(97, "a", 0, 0, 0, 0)));
141 EXPECT_FALSE(c1.Matches(AudioCodec(95, "A", 0, 0, 0, 0)));
142 EXPECT_FALSE(c1.Matches(AudioCodec(96, "", 44100, 20000, 2, 0)));
143 EXPECT_FALSE(c1.Matches(AudioCodec(96, "A", 55100, 30000, 1, 0)));
146 AudioCodec c2(97, "A", 16000, 0, 1, 3);
148 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, 0, 1, 0)));
149 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, 0, 0, 0)));
151 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, 32000, 1, 0)));
153 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, -1, 1, 0)));
156 AudioCodec c3(96, "A", 44100, 20000, 2, 3);
157 EXPECT_TRUE(c3.Matches(AudioCodec(96, "A", 44100, 20000, 2, 3)));
158 EXPECT_FALSE(c3.Matches(AudioCodec(96, "A", 44100, 20000, 1, 3)));
159 EXPECT_FALSE(c3.Matches(AudioCodec(96, "A", 44100, 20000, 0, 3)));
282 AudioCodec codec;