Home
last modified time | relevance | path

Searched refs:audio_device_buffer_ (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/android/
Daudio_record_jni.cc86 audio_device_buffer_(nullptr) { in AudioRecordJni()
184 audio_device_buffer_ = audioBuffer; in AttachAudioBuffer()
187 audio_device_buffer_->SetRecordingSampleRate(sample_rate_hz); in AttachAudioBuffer()
190 audio_device_buffer_->SetRecordingChannels(channels); in AttachAudioBuffer()
245 if (!audio_device_buffer_) { in OnDataIsRecorded()
249 audio_device_buffer_->SetRecordedBuffer(direct_buffer_address_, in OnDataIsRecorded()
254 audio_device_buffer_->SetVQEData(total_delay_in_milliseconds_, in OnDataIsRecorded()
257 if (audio_device_buffer_->DeliverRecordedData() == -1) { in OnDataIsRecorded()
Daudio_track_jni.cc79 audio_device_buffer_(nullptr) { in AudioTrackJni()
201 audio_device_buffer_ = audioBuffer; in AttachAudioBuffer()
204 audio_device_buffer_->SetPlayoutSampleRate(sample_rate_hz); in AttachAudioBuffer()
207 audio_device_buffer_->SetPlayoutChannels(channels); in AttachAudioBuffer()
243 if (!audio_device_buffer_) { in OnGetPlayoutData()
248 int samples = audio_device_buffer_->RequestPlayoutData(frames_per_buffer_); in OnGetPlayoutData()
256 samples = audio_device_buffer_->GetPlayoutData(direct_buffer_address_); in OnGetPlayoutData()
Dopensles_player.cc42 audio_device_buffer_(NULL), in OpenSLESPlayer()
178 audio_device_buffer_ = audioBuffer; in AttachAudioBuffer()
181 audio_device_buffer_->SetPlayoutSampleRate(sample_rate_hz); in AttachAudioBuffer()
184 audio_device_buffer_->SetPlayoutChannels(channels); in AttachAudioBuffer()
185 RTC_CHECK(audio_device_buffer_); in AttachAudioBuffer()
238 RTC_CHECK(audio_device_buffer_); in AllocateDataBuffers()
253 fine_buffer_.reset(new FineAudioBuffer(audio_device_buffer_, in AllocateDataBuffers()
Dopensles_player.h135 AudioDeviceBuffer* audio_device_buffer_; variable
Daudio_track_jni.h148 AudioDeviceBuffer* audio_device_buffer_; variable
Daudio_record_jni.h158 AudioDeviceBuffer* audio_device_buffer_; variable
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_ios.mm289 : audio_device_buffer_(nullptr),
311 audio_device_buffer_ = audioBuffer;
520 RTC_DCHECK(audio_device_buffer_) << "AttachAudioBuffer must be called first";
522 audio_device_buffer_->SetPlayoutSampleRate(playout_parameters_.sample_rate());
523 audio_device_buffer_->SetPlayoutChannels(playout_parameters_.channels());
524 audio_device_buffer_->SetRecordingSampleRate(
526 audio_device_buffer_->SetRecordingChannels(record_parameters_.channels());
715 RTC_DCHECK(audio_device_buffer_);
717 audio_device_buffer_, playout_parameters_.GetBytesPerBuffer(),
Daudio_device_ios.h225 AudioDeviceBuffer* audio_device_buffer_; variable