Searched refs:samples_to_read (Results 1 – 2 of 2) sorted by relevance
22 const size_t samples_to_read = samples * file_rate_hz_ / output_rate_hz; in Read() local23 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()
80 size_t samples_to_read = std::min(FutureLength(), requested_len); in GetNextAudioInterleaved() local81 ReadInterleavedFromIndex(next_index_, samples_to_read, output); in GetNextAudioInterleaved()82 next_index_ += samples_to_read; in GetNextAudioInterleaved()83 return samples_to_read; in GetNextAudioInterleaved()