Searched refs:samples_to_read (Results 1 – 2 of 2) sorted by relevance
23 const size_t samples_to_read = samples * file_rate_hz_ / output_rate_hz; in Read() local24 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()
87 const size_t samples_to_read = std::min(FutureLength(), requested_len); in GetNextAudioInterleaved() local90 next_index_, samples_to_read, output->mutable_data()); in GetNextAudioInterleaved()