Searched refs:kTestDurationMs (Results 1 – 3 of 3) sorted by relevance
17 const int kTestDurationMs = 1000; variable46 for (int i = 0; i < kSampleRateHz / 1000 * (kTestDurationMs + 1000); i++) { in GenerateInputFile()56 Sleep(kTestDurationMs); in RecordOutput()76 ASSERT_GE((samples_read * 1000.0) / kSampleRateHz, 0.4 * kTestDurationMs); in VerifyOutput()
26 const int kTestDurationMs = 3000; variable95 SleepMs(kTestDurationMs); in RunMixingTest()96 while (GetFileDurationMs(output_filename_.c_str()) < kTestDurationMs) { in RunMixingTest()115 for (int i = 0; i < kInSampleRateHz / 1000 * (kTestDurationMs * 2); i++) { in GenerateInputFile()138 ASSERT_GE((samples_read * 1000.0) / kRecSampleRateHz, kTestDurationMs); in VerifyMixedOutput()
1053 static const int kTestDurationMs = 1000; member in webrtc::AcmSenderBitExactnessOldApi1072 audio_source_.get(), kSourceRateHz, kTestDurationMs)); in SetUpSender()1443 static const int kTestDurationMs = 1000; member in webrtc::AcmSetBitRateOldApi1455 audio_source_.get(), kSourceRateHz, kTestDurationMs)); in SetUpSender()1571 sampling_freq_hz_ * kTestDurationMs / (frame_size_samples_ * 1000); in Run()