Searched refs:kLength10Ms (Results 1 – 8 of 8) sorted by relevance
54 const int kLength10Ms = kSampleRateHz / 100; in TEST() local58 std::vector<int16_t> data(kLength10Ms); in TEST()89 const int kLength10Ms = kSampleRateHz / 100; in TEST() local93 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()
24 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()
44 if (length != kLength10Ms) in AddAudio()47 if (index_ + length > kLength10Ms * kMaxNum10msFrames) in AddAudio()62 const size_t num_frames = index_ / kLength10Ms; in GetActivity()
47 resampler_.Push(audio, length, resampled_, kLength10Ms, length); in ProcessChunk()50 RTC_DCHECK_EQ(length, kLength10Ms); in ProcessChunk()
17 static const size_t kLength10Ms = kSampleRateHz / 100; variable
62 int16_t buffer_[kMaxNum10msFrames * kLength10Ms];
66 int16_t resampled_[kLength10Ms];
42 const size_t kDataLength = kLength10Ms; in TEST()