/external/webrtc/webrtc/modules/audio_coding/test/ |
opus_test.cc | 210 AudioFrame audio_frame; local 251 in_file_mono_.Read10MsData(audio_frame); 256 in_file_stereo_.Read10MsData(audio_frame); 261 resampler_.Resample10Msec(audio_frame.data_, 262 audio_frame.sample_rate_hz_, 339 ASSERT_EQ(0, acm_receiver_->PlayoutData10Ms(out_freq_hz_b, &audio_frame)); 343 audio_frame.data_, 344 audio_frame.samples_per_channel_ * audio_frame.num_channels_); 349 if (audio_frame.timestamp_ > start_time_stamp) [all...] |
TestAllCodecs.cc | 418 AudioFrame audio_frame; local 433 infile_a_.Read10MsData(audio_frame); 434 CHECK_ERROR(acm_a_->Add10MsData(audio_frame)); 455 CHECK_ERROR(acm_b_->PlayoutData10Ms(out_freq_hz, &audio_frame)); 458 outfile_b_.Write10MsData(audio_frame.data_, 459 audio_frame.samples_per_channel_);
|
TestVADDTX.cc | 105 AudioFrame audio_frame; local 107 in_file.Read10MsData(audio_frame); 108 audio_frame.timestamp_ = time_stamp; 110 EXPECT_GE(acm_send_->Add10MsData(audio_frame), 0); 111 acm_receive_->PlayoutData10Ms(kOutputFreqHz, &audio_frame); 112 out_file.Write10MsData(audio_frame);
|
TestStereo.cc | 729 AudioFrame audio_frame; local 763 in_file_mono_->Read10MsData(audio_frame); 768 in_file_stereo_->Read10MsData(audio_frame); 770 EXPECT_GE(acm_a_->Add10MsData(audio_frame), 0); 795 EXPECT_EQ(0, acm_b_->PlayoutData10Ms(out_freq_hz_b, &audio_frame)); 799 audio_frame.data_, 800 audio_frame.samples_per_channel_ * audio_frame.num_channels_);
|
delay_test.cc | 178 AudioFrame audio_frame; local 206 in_file_a_.Read10MsData(audio_frame); 207 ASSERT_GE(acm_a_->Add10MsData(audio_frame), 0); 208 ASSERT_EQ(0, acm_b_->PlayoutData10Ms(out_freq_hz_b, &audio_frame)); 210 audio_frame.data_, 211 audio_frame.samples_per_channel_ * audio_frame.num_channels_);
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
audio_coding_module_unittest_oldapi.cc | 208 AudioFrame audio_frame; local 209 ASSERT_EQ(0, acm_->PlayoutData10Ms(-1, &audio_frame)); 298 AudioFrame audio_frame; local 300 EXPECT_EQ(0, acm_->PlayoutData10Ms(kSampleRateHz, &audio_frame)); 301 EXPECT_EQ(id_, audio_frame.id_); 302 EXPECT_EQ(0u, audio_frame.timestamp_); 303 EXPECT_GT(audio_frame.num_channels_, 0u); 305 audio_frame.samples_per_channel_); 306 EXPECT_EQ(kSampleRateHz, audio_frame.sample_rate_hz_); 310 AudioFrame audio_frame; local 812 AudioFrame audio_frame; local [all...] |