Searched refs:read_samples (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
D | opus_test.cc | 219 int read_samples = 0; in Run() local 269 int loop_encode = (written_samples - read_samples) / in Run() 279 opus_mono_encoder_, &audio[read_samples], in Run() 284 opus_stereo_encoder_, &audio[read_samples], in Run() 334 read_samples += frame_length * channels; in Run() 336 if (read_samples == written_samples) { in Run() 337 read_samples = 0; in Run()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | audio_multi_vector_unittest.cc | 196 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/qemu/audio/ |
D | wavaudio.c | 391 size_t read_samples = read_bytes >> hw->info.shift; in wav_in_run() local 394 wpos = (wpos + read_samples) % hw->samples; in wav_in_run() 395 samples -= read_samples; in wav_in_run() 396 wav->total_samples += read_samples; in wav_in_run()
|
D | ossaudio.c | 746 size_t read_samples = 0; in oss_run_in() local 780 read_samples += nread >> hwshift; in oss_run_in() 805 hw->wpos = (hw->wpos + read_samples) % hw->samples; in oss_run_in() 806 return read_samples; in oss_run_in()
|
D | alsaaudio.c | 1063 snd_pcm_uframes_t read_samples = 0; in alsa_run_in() local 1165 read_samples += nread; in alsa_run_in() 1171 hw->wpos = (hw->wpos + read_samples) % hw->samples; in alsa_run_in() 1172 return read_samples; in alsa_run_in()
|