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()
46 if (length != kLength10Ms) in AddAudio()49 if (index_ + length > kLength10Ms * kMaxNum10msFrames) in AddAudio()64 const size_t num_frames = index_ / kLength10Ms; in GetActivity()
48 resampler_.Push(audio, length, resampled_, kLength10Ms, length); in ProcessChunk()51 RTC_DCHECK_EQ(length, kLength10Ms); in ProcessChunk()
15 static const size_t kLength10Ms = kSampleRateHz / 100; variable
63 int16_t buffer_[kMaxNum10msFrames * kLength10Ms];
64 int16_t resampled_[kLength10Ms];
43 const size_t kDataLength = kLength10Ms; in TEST()