Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/vad/
Dvad_audio_proc.cc41 : audio_buffer_(), in VadAudioProc()
73 memcpy(audio_buffer_, &audio_buffer_[kNumSamplesToProcess], in ResetBuffer()
74 sizeof(audio_buffer_[0]) * kNumPastSignalSamples); in ResetBuffer()
90 &audio_buffer_[num_buffer_samples_]) != 0) { in ExtractFeatures()
129 windowed_audio[n] = audio_buffer_[buffer_index++] * kLpcAnalWin[n]; in SubframeCorrelation()
251 WebRtcIsac_SplitAndFilterFloat(&audio_buffer_[kNumPastSignalSamples], lower, in PitchAnalysis()
270 rms[i] += audio_buffer_[offset] * audio_buffer_[offset]; in Rms()
Dvad_audio_proc.h76 float audio_buffer_[kBufferLength]; variable
/external/adhd/cras/src/tests/
Daudio_thread_unittest_obsolete.cc174 area_->channels[0].buf = audio_buffer_; in get_buffer()
177 area_->channels[1].buf = audio_buffer_ + 2; in get_buffer()
216 static uint8_t audio_buffer_[8192]; member in ReadStreamSuite
231 uint8_t ReadStreamSuite::audio_buffer_[8192]; member in ReadStreamSuite
314 EXPECT_EQ(&audio_buffer_[0], dev_stream_capture_call.area->channels[0].buf); in TEST_F()
340 for (unsigned int i = 0; i < sizeof(audio_buffer_); i++) in TEST_F()
341 audio_buffer_[i] = i; in TEST_F()
354 EXPECT_EQ(&audio_buffer_[0], dev_stream_capture_call.area->channels[0].buf); in TEST_F()
384 for (unsigned int i = 0; i < sizeof(audio_buffer_); i++) in TEST_F()
385 audio_buffer_[i] = i; in TEST_F()
[all …]
Daudio_thread_unittest.cc172 area_->channels[0].buf = audio_buffer_; in get_buffer()
175 area_->channels[1].buf = audio_buffer_ + 2; in get_buffer()
201 static uint8_t audio_buffer_[BUFFER_SIZE]; member in StreamDeviceSuite
211 uint8_t StreamDeviceSuite::audio_buffer_[8192]; member in StreamDeviceSuite
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receiver.cc126 audio_buffer_(new int16_t[AudioFrame::kMaxDataSizeSamples]), in AcmReceiver()
133 memset(audio_buffer_.get(), 0, AudioFrame::kMaxDataSizeSamples); in AcmReceiver()
223 audio_buffer_.get(), in GetAudio()
257 audio_buffer_.get(), current_sample_rate_hz, desired_freq_hz, in GetAudio()
269 audio_buffer_.get(), in GetAudio()
275 audio_buffer_.swap(last_audio_buffer_); in GetAudio()
Dacm_receiver.h291 rtc::scoped_ptr<int16_t[]> audio_buffer_ GUARDED_BY(crit_sect_);