Home
last modified time | relevance | path

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

/external/webrtc/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.cc46 if (length != kLength10Ms) in AddAudio()
49 if (index_ + length > kLength10Ms * kMaxNum10msFrames) in AddAudio()
64 const size_t num_frames = index_ / kLength10Ms; in GetActivity()
Dvoice_activity_detector.cc48 resampler_.Push(audio, length, resampled_, kLength10Ms, length); in ProcessChunk()
51 RTC_DCHECK_EQ(length, kLength10Ms); in ProcessChunk()
Dcommon.h15 static const size_t kLength10Ms = kSampleRateHz / 100; variable
Dstandalone_vad.h63 int16_t buffer_[kMaxNum10msFrames * kLength10Ms];
Dvoice_activity_detector.h64 int16_t resampled_[kLength10Ms];
Dvad_audio_proc_unittest.cc43 const size_t kDataLength = kLength10Ms; in TEST()