Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/agc/
Dloudness_histogram.cc68 buffer_index_(0), in LoudnessHistogram()
83 buffer_index_(0), in LoudnessHistogram()
110 int oldest_prob = activity_probability_[buffer_index_]; in RemoveOldestEntryAndUpdate()
111 int oldest_hist_index = hist_bin_index_[buffer_index_]; in RemoveOldestEntryAndUpdate()
120 (buffer_index_ > 0) ? (buffer_index_ - 1) : len_circular_buffer_ - 1; in RemoveTransient()
145 activity_probability_[buffer_index_] = activity_prob_q10; in InsertNewestEntryAndUpdate()
146 hist_bin_index_[buffer_index_] = hist_index; in InsertNewestEntryAndUpdate()
148 buffer_index_++; in InsertNewestEntryAndUpdate()
149 if (buffer_index_ >= len_circular_buffer_) { in InsertNewestEntryAndUpdate()
150 buffer_index_ = 0; in InsertNewestEntryAndUpdate()
[all …]
Dloudness_histogram.h80 int buffer_index_; variable
/external/webrtc/modules/audio_device/android/
Dopensles_recorder.cc55 buffer_index_(0), in OpenSLESRecorder()
106 buffer_index_ = 0; in InitRecording()
378 audio_buffers_[buffer_index_].get(), in ReadBufferQueue()
390 reinterpret_cast<SLint8*>(audio_buffers_[buffer_index_].get()), in EnqueueAudioBuffer()
396 buffer_index_ = (buffer_index_ + 1) % kNumOfOpenSLESBuffers; in EnqueueAudioBuffer()
Dopensles_player.cc51 buffer_index_(0), in OpenSLESPlayer()
109 buffer_index_ = 0; in InitPlayout()
396 reinterpret_cast<SLint8*>(audio_buffers_[buffer_index_].get()); in EnqueuePlayoutData()
410 rtc::ArrayView<int16_t>(audio_buffers_[buffer_index_].get(), in EnqueuePlayoutData()
422 buffer_index_ = (buffer_index_ + 1) % kNumOfOpenSLESBuffers; in EnqueuePlayoutData()
Dopensles_recorder.h185 int buffer_index_; variable
Dopensles_player.h163 int buffer_index_; variable
/external/webrtc/sdk/android/src/jni/audio_device/
Dopensles_player.cc52 buffer_index_(0), in OpenSLESPlayer()
111 buffer_index_ = 0; in InitPlayout()
405 reinterpret_cast<SLint8*>(audio_buffers_[buffer_index_].get()); in EnqueuePlayoutData()
419 rtc::ArrayView<int16_t>(audio_buffers_[buffer_index_].get(), in EnqueuePlayoutData()
431 buffer_index_ = (buffer_index_ + 1) % kNumOfOpenSLESBuffers; in EnqueuePlayoutData()
Dopensles_recorder.cc57 buffer_index_(0), in OpenSLESRecorder()
108 buffer_index_ = 0; in InitRecording()
389 audio_buffers_[buffer_index_].get(), in ReadBufferQueue()
401 reinterpret_cast<SLint8*>(audio_buffers_[buffer_index_].get()), in EnqueueAudioBuffer()
407 buffer_index_ = (buffer_index_ + 1) % kNumOfOpenSLESBuffers; in EnqueueAudioBuffer()
Dopensles_recorder.h183 int buffer_index_; variable
Dopensles_player.h163 int buffer_index_; variable