Searched refs:speech_buffer_ (Results 1 – 4 of 4) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_encoder_pcm.cc | 50 speech_buffer_.reserve(full_frame_samples_); in AudioEncoderPcm() 85 if (speech_buffer_.empty()) { in EncodeInternal() 88 speech_buffer_.insert(speech_buffer_.end(), audio.begin(), audio.end()); in EncodeInternal() 89 if (speech_buffer_.size() < full_frame_samples_) { in EncodeInternal() 92 RTC_CHECK_EQ(speech_buffer_.size(), full_frame_samples_); in EncodeInternal() 98 EncodeCall(&speech_buffer_[0], full_frame_samples_, encoded); in EncodeInternal() 99 speech_buffer_.clear(); in EncodeInternal() 104 speech_buffer_.clear(); in Reset()
|
D | audio_encoder_pcm.h | 65 std::vector<int16_t> speech_buffer_; variable
|
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng.cc | 106 RTC_CHECK_EQ(speech_buffer_.size(), in EncodeInternal() 110 speech_buffer_.insert(speech_buffer_.end(), audio.cbegin(), audio.cend()); 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() 161 speech_buffer_.erase( in EncodeInternal() 162 speech_buffer_.begin(), in EncodeInternal() 163 speech_buffer_.begin() + frames_to_encode * samples_per_10ms_frame); in EncodeInternal() 171 speech_buffer_.clear(); in Reset() 219 &speech_buffer_[i * samples_per_10ms_frame], in EncodePassive() 247 &speech_buffer_[i * samples_per_10ms_frame], in EncodeActive()
|
D | audio_encoder_cng.h | 84 std::vector<int16_t> speech_buffer_; variable
|