Home
last modified time | relevance | path

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

/external/webrtc/pc/test/
Dfake_audio_capture_module_unittest.cc28 memset(rec_buffer_, 0, sizeof(rec_buffer_)); in FakeAdmTest()
57 memcpy(rec_buffer_, audioSamples, rec_buffer_bytes_); in RecordedDataIsAvailable()
114 memcpy(audio_buffer, rec_buffer_, min_buffer_size); in CopyFromRecBuffer()
123 char rec_buffer_[FakeAudioCaptureModule::kNumberSamples * member in FakeAdmTest
Dfake_audio_capture_module.cc424 memset(rec_buffer_, 0, sizeof(rec_buffer_)); in ResetRecBuffer()
428 const Sample* buffer_ptr = reinterpret_cast<const Sample*>(rec_buffer_); in CheckRecBuffer()
430 sizeof(rec_buffer_) / kNumberBytesPerSample; in CheckRecBuffer()
508 rec_buffer_, nSamplesOut, in ReceiveFrameP()
Dfake_audio_capture_module.h216 char rec_buffer_[kNumberSamples * kNumberBytesPerSample]; variable
/external/webrtc/modules/audio_device/
Daudio_device_buffer.cc233 const size_t old_size = rec_buffer_.size(); in SetRecordedBuffer()
234 rec_buffer_.SetData(static_cast<const int16_t*>(audio_buffer), in SetRecordedBuffer()
238 if (old_size != rec_buffer_.size()) { in SetRecordedBuffer()
239 RTC_LOG(LS_INFO) << "Size of recording buffer: " << rec_buffer_.size(); in SetRecordedBuffer()
247 max_abs = WebRtcSpl_MaxAbsValueW16(rec_buffer_.data(), rec_buffer_.size()); in SetRecordedBuffer()
267 const size_t frames = rec_buffer_.size() / rec_channels_; in DeliverRecordedData()
272 rec_buffer_.data(), frames, bytes_per_frame, rec_channels_, in DeliverRecordedData()
Daudio_device_buffer.h181 rtc::BufferT<int16_t> rec_buffer_; variable