Lines Matching refs:AudioDeviceBuffer
44 AudioDeviceBuffer::AudioDeviceBuffer(TaskQueueFactory* task_queue_factory) in AudioDeviceBuffer() function in webrtc::AudioDeviceBuffer
72 AudioDeviceBuffer::~AudioDeviceBuffer() { in ~AudioDeviceBuffer()
79 int32_t AudioDeviceBuffer::RegisterAudioCallback( in RegisterAudioCallback()
91 void AudioDeviceBuffer::StartPlayout() { in StartPlayout()
113 void AudioDeviceBuffer::StartRecording() { in StartRecording()
135 void AudioDeviceBuffer::StopPlayout() { in StopPlayout()
149 void AudioDeviceBuffer::StopRecording() { in StopRecording()
180 int32_t AudioDeviceBuffer::SetRecordingSampleRate(uint32_t fsHz) { in SetRecordingSampleRate()
186 int32_t AudioDeviceBuffer::SetPlayoutSampleRate(uint32_t fsHz) { in SetPlayoutSampleRate()
192 uint32_t AudioDeviceBuffer::RecordingSampleRate() const { in RecordingSampleRate()
196 uint32_t AudioDeviceBuffer::PlayoutSampleRate() const { in PlayoutSampleRate()
200 int32_t AudioDeviceBuffer::SetRecordingChannels(size_t channels) { in SetRecordingChannels()
206 int32_t AudioDeviceBuffer::SetPlayoutChannels(size_t channels) { in SetPlayoutChannels()
212 size_t AudioDeviceBuffer::RecordingChannels() const { in RecordingChannels()
216 size_t AudioDeviceBuffer::PlayoutChannels() const { in PlayoutChannels()
220 int32_t AudioDeviceBuffer::SetTypingStatus(bool typing_status) { in SetTypingStatus()
225 void AudioDeviceBuffer::SetVQEData(int play_delay_ms, int rec_delay_ms) { in SetVQEData()
230 int32_t AudioDeviceBuffer::SetRecordedBuffer(const void* audio_buffer, in SetRecordedBuffer()
262 int32_t AudioDeviceBuffer::DeliverRecordedData() { in DeliverRecordedData()
281 int32_t AudioDeviceBuffer::RequestPlayoutData(size_t samples_per_channel) { in RequestPlayoutData()
325 int32_t AudioDeviceBuffer::GetPlayoutData(void* audio_buffer) { in GetPlayoutData()
351 void AudioDeviceBuffer::StartPeriodicLogging() { in StartPeriodicLogging()
352 task_queue_.PostTask(rtc::Bind(&AudioDeviceBuffer::LogStats, this, in StartPeriodicLogging()
353 AudioDeviceBuffer::LOG_START)); in StartPeriodicLogging()
356 void AudioDeviceBuffer::StopPeriodicLogging() { in StopPeriodicLogging()
357 task_queue_.PostTask(rtc::Bind(&AudioDeviceBuffer::LogStats, this, in StopPeriodicLogging()
358 AudioDeviceBuffer::LOG_STOP)); in StopPeriodicLogging()
361 void AudioDeviceBuffer::LogStats(LogState state) { in LogStats()
365 if (state == AudioDeviceBuffer::LOG_START) { in LogStats()
371 } else if (state == AudioDeviceBuffer::LOG_STOP) { in LogStats()
374 } else if (state == AudioDeviceBuffer::LOG_ACTIVE) { in LogStats()
463 task_queue_.PostDelayedTask(rtc::Bind(&AudioDeviceBuffer::LogStats, this, in LogStats()
464 AudioDeviceBuffer::LOG_ACTIVE), in LogStats()
468 void AudioDeviceBuffer::ResetRecStats() { in ResetRecStats()
475 void AudioDeviceBuffer::ResetPlayStats() { in ResetPlayStats()
482 void AudioDeviceBuffer::UpdateRecStats(int16_t max_abs, in UpdateRecStats()
492 void AudioDeviceBuffer::UpdatePlayStats(int16_t max_abs, in UpdatePlayStats()