Home
last modified time | relevance | path

Searched refs:read_samples (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/test/
Dopus_test.cc217 size_t read_samples = 0; in Run() local
271 size_t loop_encode = (written_samples - read_samples) / in Run()
281 &audio[read_samples], frame_length, kMaxBytes, bitstream); in Run()
330 read_samples += frame_length * channels; in Run()
332 if (read_samples == written_samples) { in Run()
333 read_samples = 0; in Run()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_multi_vector_unittest.cc196 size_t read_samples = 5; in TEST_P() local
197 EXPECT_EQ(num_channels_ * read_samples, in TEST_P()
198 vec.ReadInterleaved(read_samples, output)); in TEST_P()
200 memcmp(array_interleaved_, output, read_samples * sizeof(int16_t))); in TEST_P()
206 memcmp(array_interleaved_, output, read_samples * sizeof(int16_t))); in TEST_P()
217 size_t read_samples = 5; in TEST_P() local
218 EXPECT_EQ(0u, vec.ReadInterleaved(read_samples, output)); in TEST_P()
/external/webrtc/webrtc/common_audio/
Dwav_file_unittest.cc168 float read_samples[kNumSamples]; in TEST() local
169 EXPECT_EQ(kNumSamples, r.ReadSamples(kNumSamples, read_samples)); in TEST()
171 EXPECT_NEAR(samples[i], read_samples[i], 1); in TEST()
173 EXPECT_EQ(0u, r.ReadSamples(kNumSamples, read_samples)); in TEST()