HomeSort by relevance Sort by last modified time
    Searched refs:kRates (Results 1 - 2 of 2) sorted by null

  /external/webrtc/src/common_audio/resampler/
resampler_unittest.cc 30 const int kRates[] = {
38 const size_t kRatesSize = sizeof(kRates) / sizeof(*kRates);
83 ss << "Input rate: " << kRates[i] << ", output rate: " << kRates[j]
86 if (ValidRates(kRates[i], kRates[j]))
87 EXPECT_EQ(0, rs_.Reset(kRates[i], kRates[j], kTypes[k]));
89 EXPECT_EQ(-1, rs_.Reset(kRates[i], kRates[j], kTypes[k]))
    [all...]
  /external/webrtc/src/common_audio/vad/
vad_unittest.cc 31 const int16_t kRates[] = { 8000, 12000, 16000, 24000, 32000 };
32 const size_t kRatesSize = sizeof(kRates) / sizeof(*kRates);
104 EXPECT_EQ(-1, WebRtcVad_Process(NULL, kRates[0], speech, kFrameLengths[0]));
122 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], speech, kFrameLengths[0]));
134 EXPECT_EQ(-1, WebRtcVad_Process(handle, kRates[0], NULL, kFrameLengths[0]));
138 EXPECT_EQ(0, WebRtcVad_Process(handle, kRates[0], zeros, kFrameLengths[0]));
145 if (ValidRatesAndFrameLengths(kRates[i], kFrameLengths[j])) {
147 kRates[i],
152 kRates[i]
    [all...]

Completed in 357 milliseconds