Home
last modified time | relevance | path

Searched refs:kLength10Ms (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/modules/audio_processing/vad/
Dvoice_activity_detector_unittest.cc54 const int kLength10Ms = kSampleRateHz / 100; in TEST() local
58 std::vector<int16_t> data(kLength10Ms); in TEST()
89 const int kLength10Ms = kSampleRateHz / 100; in TEST() local
93 std::vector<int16_t> data(kLength10Ms); in TEST()
125 std::vector<int16_t> data(kLength10Ms); in TEST()
148 std::vector<int16_t> data(2 * kLength10Ms); in TEST()
Dstandalone_vad_unittest.cc24 int16_t data[kLength10Ms] = {0}; in TEST()
32 EXPECT_EQ(0, vad->AddAudio(data, kLength10Ms)); in TEST()
44 EXPECT_EQ(0, vad->AddAudio(data, kLength10Ms)); in TEST()
63 const size_t kDataLength = kLength10Ms; in TEST()
Dstandalone_vad.cc44 if (length != kLength10Ms) in AddAudio()
47 if (index_ + length > kLength10Ms * kMaxNum10msFrames) in AddAudio()
62 const size_t num_frames = index_ / kLength10Ms; in GetActivity()
Dvoice_activity_detector.cc47 resampler_.Push(audio, length, resampled_, kLength10Ms, length); in ProcessChunk()
50 RTC_DCHECK_EQ(length, kLength10Ms); in ProcessChunk()
Dcommon.h17 static const size_t kLength10Ms = kSampleRateHz / 100; variable
Dstandalone_vad.h62 int16_t buffer_[kMaxNum10msFrames * kLength10Ms];
Dvoice_activity_detector.h66 int16_t resampled_[kLength10Ms];
Dvad_audio_proc_unittest.cc42 const size_t kDataLength = kLength10Ms; in TEST()