Searched refs:kRates (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/common_audio/resampler/ |
D | resampler_unittest.cc | 25 const int kRates[] = { variable 33 const size_t kRatesSize = sizeof(kRates) / sizeof(*kRates); 78 ss << "Input rate: " << kRates[i] << ", output rate: " << kRates[j] in TEST_F() 81 if (ValidRates(kRates[i], kRates[j])) in TEST_F() 82 EXPECT_EQ(0, rs_.Reset(kRates[i], kRates[j], kNumChannels[k])); in TEST_F() 84 EXPECT_EQ(-1, rs_.Reset(kRates[i], kRates[j], kNumChannels[k])); in TEST_F() 97 ss << "Input rate: " << kRates[i] << ", output rate: " << kRates[j]; in TEST_F() 100 if (ValidRates(kRates[i], kRates[j])) { in TEST_F() 101 size_t in_length = static_cast<size_t>(kRates[i] / 100); in TEST_F() 103 EXPECT_EQ(0, rs_.Reset(kRates[i], kRates[j], kChannels)); in TEST_F() [all …]
|
/external/webrtc/webrtc/common_audio/vad/ |
D | vad_unittest.cc | 76 WebRtcVad_Process(nullptr, kRates[0], speech, kFrameLengths[0])); in TEST_F() 82 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0])); in TEST_F() 100 WebRtcVad_Process(handle, kRates[0], nullptr, kFrameLengths[0])); in TEST_F() 104 EXPECT_EQ(0, WebRtcVad_Process(handle, kRates[0], zeros, kFrameLengths[0])); in TEST_F() 111 if (ValidRatesAndFrameLengths(kRates[i], kFrameLengths[j])) { in TEST_F() 113 kRates[i], in TEST_F() 118 kRates[i], in TEST_F() 133 const int kRates[] = { in TEST_F() local 141 for (size_t i = 0; i < arraysize(kRates); i++) { in TEST_F() 143 if (ValidRatesAndFrameLengths(kRates[i], kFrameLengths[j])) { in TEST_F() [all …]
|
D | vad_unittest.h | 27 const int kRates[] = { 8000, 12000, 16000, 24000, 32000, 48000 }; variable 28 const size_t kRatesSize = sizeof(kRates) / sizeof(*kRates);
|