Home
last modified time | relevance | path

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

/aosp_15_r20/external/webrtc/modules/audio_coding/neteq/tools/
H A Dfake_decode_from_file.cc74 const int samples_to_decode = PacketDuration(encoded, encoded_len); in DecodeInternal() local
75 const int total_samples_to_decode = samples_to_decode * (stereo_ ? 2 : 1); in DecodeInternal()
99 next_timestamp_from_input_ = timestamp_to_decode + samples_to_decode; in DecodeInternal()
113 RTC_CHECK(input_->Read(static_cast<size_t>(samples_to_decode), decoded)); in DecodeInternal()
116 InputAudioFile::DuplicateInterleaved(decoded, samples_to_decode, 2, in DecodeInternal()
121 last_decoded_length_ = samples_to_decode; in DecodeInternal()
131 const uint32_t samples_to_decode = in PacketDuration() local
140 original_payload_size_bytes <= 2 || samples_to_decode == 0; in PacketDuration()
142 samples_to_decode % rtc::CheckedDivExact(SampleRateHz(), 100) != 0; in PacketDuration()
153 return samples_to_decode; in PacketDuration()