Lines Matching refs:AudioCodec
31 using cricket::AudioCodec;
83 AudioCodec c0(96, "A", 44100, 20000, 2, 3); in TEST_F()
84 AudioCodec c1(95, "A", 44100, 20000, 2, 3); in TEST_F()
85 AudioCodec c2(96, "x", 44100, 20000, 2, 3); in TEST_F()
86 AudioCodec c3(96, "A", 48000, 20000, 2, 3); in TEST_F()
87 AudioCodec c4(96, "A", 44100, 10000, 2, 3); in TEST_F()
88 AudioCodec c5(96, "A", 44100, 20000, 1, 3); in TEST_F()
89 AudioCodec c6(96, "A", 44100, 20000, 2, 1); in TEST_F()
97 AudioCodec c7; in TEST_F()
98 AudioCodec c8(0, "", 0, 0, 0, 0); in TEST_F()
99 AudioCodec c9 = c0; in TEST_F()
104 AudioCodec c10(c0); in TEST_F()
105 AudioCodec c11(c0); in TEST_F()
106 AudioCodec c12(c0); in TEST_F()
107 AudioCodec c13(c0); in TEST_F()
123 AudioCodec c0(95, "A", 44100, 20000, 1, 3); in TEST_F()
124 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 1, 0))); in TEST_F()
125 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 20000, 0, 0))); in TEST_F()
126 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 44100, 0, 0, 0))); in TEST_F()
127 EXPECT_TRUE(c0.Matches(AudioCodec(95, "", 0, 0, 0, 0))); in TEST_F()
128 EXPECT_FALSE(c0.Matches(AudioCodec(96, "", 44100, 20000, 1, 0))); in TEST_F()
129 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 20000, 1, 0))); in TEST_F()
130 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 30000, 1, 0))); in TEST_F()
131 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 44100, 20000, 2, 0))); in TEST_F()
132 EXPECT_FALSE(c0.Matches(AudioCodec(95, "", 55100, 30000, 2, 0))); in TEST_F()
135 AudioCodec c1(96, "A", 44100, 20000, 1, 3); in TEST_F()
136 EXPECT_TRUE(c1.Matches(AudioCodec(96, "A", 0, 0, 0, 0))); in TEST_F()
137 EXPECT_TRUE(c1.Matches(AudioCodec(97, "A", 0, 0, 0, 0))); in TEST_F()
138 EXPECT_TRUE(c1.Matches(AudioCodec(96, "a", 0, 0, 0, 0))); in TEST_F()
139 EXPECT_TRUE(c1.Matches(AudioCodec(97, "a", 0, 0, 0, 0))); in TEST_F()
140 EXPECT_FALSE(c1.Matches(AudioCodec(95, "A", 0, 0, 0, 0))); in TEST_F()
141 EXPECT_FALSE(c1.Matches(AudioCodec(96, "", 44100, 20000, 2, 0))); in TEST_F()
142 EXPECT_FALSE(c1.Matches(AudioCodec(96, "A", 55100, 30000, 1, 0))); in TEST_F()
145 AudioCodec c2(97, "A", 16000, 0, 1, 3); in TEST_F()
147 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, 0, 1, 0))); in TEST_F()
148 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, 0, 0, 0))); in TEST_F()
150 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, 32000, 1, 0))); in TEST_F()
152 EXPECT_TRUE(c2.Matches(AudioCodec(97, "A", 16000, -1, 1, 0))); in TEST_F()
155 AudioCodec c3(96, "A", 44100, 20000, 2, 3); in TEST_F()
156 EXPECT_TRUE(c3.Matches(AudioCodec(96, "A", 44100, 20000, 2, 3))); in TEST_F()
157 EXPECT_FALSE(c3.Matches(AudioCodec(96, "A", 44100, 20000, 1, 3))); in TEST_F()
158 EXPECT_FALSE(c3.Matches(AudioCodec(96, "A", 44100, 20000, 0, 3))); in TEST_F()
233 AudioCodec codec; in TEST_F()