Searched refs:speech_buffer_ (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_encoder_pcm.cc | 36 speech_buffer_.reserve(full_frame_samples_); in AudioEncoderPcm() 66 if (speech_buffer_.empty()) { in EncodeImpl() 69 speech_buffer_.insert(speech_buffer_.end(), audio.begin(), audio.end()); in EncodeImpl() 70 if (speech_buffer_.size() < full_frame_samples_) { in EncodeImpl() 73 RTC_CHECK_EQ(speech_buffer_.size(), full_frame_samples_); in EncodeImpl() 80 return EncodeCall(&speech_buffer_[0], full_frame_samples_, in EncodeImpl() 83 speech_buffer_.clear(); in EncodeImpl() 89 speech_buffer_.clear(); in Reset()
|
D | audio_encoder_pcm.h | 73 std::vector<int16_t> speech_buffer_; variable
|
/external/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng.cc | 72 std::vector<int16_t> speech_buffer_; member in webrtc::__anonc964e42d0111::AudioEncoderCng 125 RTC_CHECK_EQ(speech_buffer_.size(), in EncodeImpl() 129 speech_buffer_.insert(speech_buffer_.end(), audio.cbegin(), audio.cend()); in EncodeImpl() 153 &speech_buffer_[0], samples_per_10ms_frame * blocks_in_first_vad_call, in EncodeImpl() 158 &speech_buffer_[samples_per_10ms_frame * blocks_in_first_vad_call], in EncodeImpl() 180 speech_buffer_.erase( in EncodeImpl() 181 speech_buffer_.begin(), in EncodeImpl() 182 speech_buffer_.begin() + frames_to_encode * samples_per_10ms_frame); in EncodeImpl() 190 speech_buffer_.clear(); in Reset() 252 &speech_buffer_[i * samples_per_10ms_frame], in EncodePassive() [all …]
|