Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc105 const size_t samples_per_10ms_frame = SamplesPer10msFrame(); in EncodeInternal() local
107 rtp_timestamps_.size() * samples_per_10ms_frame); in EncodeInternal()
109 RTC_DCHECK_EQ(samples_per_10ms_frame, audio.size()); in EncodeInternal()
134 &speech_buffer_[0], samples_per_10ms_frame * blocks_in_first_vad_call, in EncodeInternal()
139 &speech_buffer_[samples_per_10ms_frame * blocks_in_first_vad_call], in EncodeInternal()
140 samples_per_10ms_frame * blocks_in_second_vad_call, SampleRateHz()); in EncodeInternal()
163 speech_buffer_.begin() + frames_to_encode * samples_per_10ms_frame); in EncodeInternal()
209 const size_t samples_per_10ms_frame = SamplesPer10msFrame(); in EncodePassive() local
210 RTC_CHECK_GE(max_encoded_bytes, frames_to_encode * samples_per_10ms_frame); in EncodePassive()
219 &speech_buffer_[i * samples_per_10ms_frame], in EncodePassive()
[all …]