Home
last modified time | relevance | path

Searched refs:samples_to_read (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/tools/
Dresample_input_audio_file.cc23 const size_t samples_to_read = samples * file_rate_hz_ / output_rate_hz; in Read() local
24 RTC_CHECK_EQ(samples_to_read * output_rate_hz, samples * file_rate_hz_) in Read()
26 std::unique_ptr<int16_t[]> temp_destination(new int16_t[samples_to_read]); in Read()
27 if (!InputAudioFile::Read(samples_to_read, temp_destination.get())) in Read()
31 RTC_CHECK_EQ(resampler_.Push(temp_destination.get(), samples_to_read, in Read()
/external/webrtc/modules/audio_coding/neteq/
Dsync_buffer.cc87 const size_t samples_to_read = std::min(FutureLength(), requested_len); in GetNextAudioInterleaved() local
90 next_index_, samples_to_read, output->mutable_data()); in GetNextAudioInterleaved()