Home | History | Annotate | Download | only in standard

Lines Matching refs:codec_inst

159     CodecInst codec_inst;
160 strcpy(codec_inst.plname, "L16");
161 codec_inst.channels = 1;
162 codec_inst.plfreq = kSampleRateHz;
163 codec_inst.pltype = 105;
164 codec_inst.pacsize = codec_inst.plfreq / 100;
165 codec_inst.rate = codec_inst.plfreq * sizeof(int16_t) * 8; // 8 bits/byte.
172 StartRemoteStream(streams[i], codec_inst, 1234 + 2 * i);
176 codec_inst.channels = 2;
177 codec_inst.pltype++;
179 StartRemoteStream(streams[i], codec_inst, 1234 + 2 * i);
184 void StartRemoteStream(int stream, const CodecInst& codec_inst, int port) {
185 EXPECT_EQ(0, voe_codec_->SetRecPayloadType(stream, codec_inst));
189 EXPECT_EQ(0, voe_codec_->SetSendCodec(stream, codec_inst));