Home
last modified time | relevance | path

Searched refs:samples_read (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Daudio_loop.cc28 size_t samples_read = fread(audio_array_.get(), sizeof(int16_t), in Init() local
33 if (block_length_samples > samples_read) return false; in Init()
38 memcpy(&audio_array_[samples_read], audio_array_.get(), in Init()
41 loop_length_samples_ = samples_read; in Init()
Dinput_audio_file.cc28 size_t samples_read = fread(destination, sizeof(int16_t), samples, fp_); in Read() local
29 if (samples_read < samples) { in Read()
32 size_t missing_samples = samples - samples_read; in Read()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer_unittest.cc147 size_t samples_read = sync_buffer.GetNextAudioInterleaved(kNewLen / 2, in TEST() local
149 samples_read += in TEST()
151 &output[samples_read * kChannels]); in TEST()
152 EXPECT_EQ(kNewLen, samples_read); in TEST()
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dfile_before_streaming_test.cc64 int samples_read = 0; in VerifyOutput() local
70 samples_read++; in VerifyOutput()
76 ASSERT_GE((samples_read * 1000.0) / kSampleRateHz, 0.4 * kTestDurationMs); in VerifyOutput()
Dmixing_test.cc126 int samples_read = 0; in VerifyMixedOutput() local
128 samples_read++; in VerifyMixedOutput()
130 trace_stream << samples_read << " samples read"; in VerifyMixedOutput()
138 ASSERT_GE((samples_read * 1000.0) / kRecSampleRateHz, kTestDurationMs); in VerifyMixedOutput()