Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/tools/
Dresample_input_audio_file.cc22 const size_t samples_to_read = samples * file_rate_hz_ / output_rate_hz; in Read() local
23 RTC_CHECK_EQ(samples_to_read * output_rate_hz, samples * file_rate_hz_) in Read()
25 rtc::scoped_ptr<int16_t[]> temp_destination(new int16_t[samples_to_read]); in Read()
26 if (!InputAudioFile::Read(samples_to_read, temp_destination.get())) in Read()
30 RTC_CHECK_EQ(resampler_.Push(temp_destination.get(), samples_to_read, in Read()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dsync_buffer.cc80 size_t samples_to_read = std::min(FutureLength(), requested_len); in GetNextAudioInterleaved() local
81 ReadInterleavedFromIndex(next_index_, samples_to_read, output); in GetNextAudioInterleaved()
82 next_index_ += samples_to_read; in GetNextAudioInterleaved()
83 return samples_to_read; in GetNextAudioInterleaved()