Home
last modified time | relevance | path

Searched refs:audio_parameters_ (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/modules/audio_device/android/
Dopensles_recorder.cc48 audio_parameters_(audio_manager->GetRecordAudioParameters()), in OpenSLESRecorder()
63 pcm_format_ = CreatePCMConfiguration(audio_parameters_.channels(), in OpenSLESRecorder()
64 audio_parameters_.sample_rate(), in OpenSLESRecorder()
65 audio_parameters_.bits_per_sample()); in OpenSLESRecorder()
82 if (audio_parameters_.channels() == 2) { in Init()
175 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
180 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
338 audio_parameters_.frames_per_buffer()); in AllocateDataBuffers()
340 audio_parameters_.frames_per_10ms_buffer()); in AllocateDataBuffers()
342 audio_parameters_.GetBytesPerBuffer()); in AllocateDataBuffers()
[all …]
Dopensles_player.cc47 audio_parameters_(audio_manager->GetPlayoutAudioParameters()), in OpenSLESPlayer()
60 pcm_format_ = CreatePCMConfiguration(audio_parameters_.channels(), in OpenSLESPlayer()
61 audio_parameters_.sample_rate(), in OpenSLESPlayer()
62 audio_parameters_.bits_per_sample()); in OpenSLESPlayer()
85 if (audio_parameters_.channels() == 2) { in Init()
192 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
195 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
216 audio_parameters_.frames_per_buffer() * audio_parameters_.channels(); in AllocateDataBuffers()
219 audio_parameters_.GetBufferSizeInMilliseconds()); in AllocateDataBuffers()
402 memset(audio_ptr8, 0, audio_parameters_.GetBytesPerBuffer()); in EnqueuePlayoutData()
[all …]
Daudio_record_jni.cc88 audio_parameters_(audio_manager->GetRecordAudioParameters()), in AudioRecordJni()
97 RTC_DCHECK(audio_parameters_.is_valid()); in AudioRecordJni()
143 audio_parameters_.sample_rate(), audio_parameters_.channels()); in InitRecording()
151 const size_t bytes_per_frame = audio_parameters_.channels() * sizeof(int16_t); in InitRecording()
154 RTC_CHECK_EQ(frames_per_buffer_, audio_parameters_.frames_per_10ms_buffer()); in InitRecording()
201 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
204 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
Daudio_track_jni.cc99 audio_parameters_(audio_manager->GetPlayoutAudioParameters()), in AudioTrackJni()
107 RTC_DCHECK(audio_parameters_.is_valid()); in AudioTrackJni()
151 if (!j_audio_track_->InitPlayout(audio_parameters_.sample_rate(), in InitPlayout()
152 audio_parameters_.channels())) { in InitPlayout()
232 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
235 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
259 const size_t bytes_per_frame = audio_parameters_.channels() * sizeof(int16_t); in OnCacheDirectBufferAddress()
278 const size_t bytes_per_frame = audio_parameters_.channels() * sizeof(int16_t); in OnGetPlayoutData()
Daaudio_wrapper.cc140 ? audio_parameters_ = audio_manager->GetPlayoutAudioParameters() in AAudioWrapper()
141 : audio_parameters_ = audio_manager->GetRecordAudioParameters(); in AAudioWrapper()
143 RTC_LOG(INFO) << audio_parameters_.ToString(); in AAudioWrapper()
286 return audio_parameters_; in audio_parameters()
Dopensles_recorder.h141 const AudioParameters audio_parameters_; variable
Dopensles_player.h131 const AudioParameters audio_parameters_; variable
Daaudio_wrapper.h118 AudioParameters audio_parameters_; variable
Daudio_record_jni.h138 const AudioParameters audio_parameters_; variable
Daudio_track_jni.h134 const AudioParameters audio_parameters_; variable
/external/webrtc/sdk/android/src/jni/audio_device/
Dopensles_recorder.cc49 : audio_parameters_(audio_parameters), in OpenSLESRecorder()
65 pcm_format_ = CreatePCMConfiguration(audio_parameters_.channels(), in OpenSLESRecorder()
66 audio_parameters_.sample_rate(), in OpenSLESRecorder()
67 audio_parameters_.bits_per_sample()); in OpenSLESRecorder()
84 if (audio_parameters_.channels() == 2) { in Init()
185 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
190 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
349 audio_parameters_.frames_per_buffer()); in AllocateDataBuffers()
351 audio_parameters_.frames_per_10ms_buffer()); in AllocateDataBuffers()
353 audio_parameters_.GetBytesPerBuffer()); in AllocateDataBuffers()
[all …]
Dopensles_player.cc48 : audio_parameters_(audio_parameters), in OpenSLESPlayer()
62 pcm_format_ = CreatePCMConfiguration(audio_parameters_.channels(), in OpenSLESPlayer()
63 audio_parameters_.sample_rate(), in OpenSLESPlayer()
64 audio_parameters_.bits_per_sample()); in OpenSLESPlayer()
87 if (audio_parameters_.channels() == 2) { in Init()
201 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
204 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
225 audio_parameters_.frames_per_buffer() * audio_parameters_.channels(); in AllocateDataBuffers()
228 audio_parameters_.GetBufferSizeInMilliseconds()); in AllocateDataBuffers()
411 memset(audio_ptr8, 0, audio_parameters_.GetBytesPerBuffer()); in EnqueuePlayoutData()
[all …]
Daudio_track_jni.cc40 audio_parameters_(audio_parameters), in AudioTrackJni()
48 RTC_DCHECK(audio_parameters_.is_valid()); in AudioTrackJni()
94 env_, j_audio_track_, audio_parameters_.sample_rate(), in InitPlayout()
95 static_cast<int>(audio_parameters_.channels()), buffer_size_factor); in InitPlayout()
103 const int sample_rate = audio_parameters_.sample_rate() <= 0 in InitPlayout()
105 : audio_parameters_.sample_rate(); in InitPlayout()
211 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
214 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
229 const size_t bytes_per_frame = audio_parameters_.channels() * sizeof(int16_t); in CacheDirectBufferAddress()
239 const size_t bytes_per_frame = audio_parameters_.channels() * sizeof(int16_t); in GetPlayoutData()
Daudio_record_jni.cc63 audio_parameters_(audio_parameters), in AudioRecordJni()
72 RTC_DCHECK(audio_parameters_.is_valid()); in AudioRecordJni()
113 env_, j_audio_record_, audio_parameters_.sample_rate(), in InitRecording()
114 static_cast<int>(audio_parameters_.channels())); in InitRecording()
122 const size_t bytes_per_frame = audio_parameters_.channels() * sizeof(int16_t); in InitRecording()
125 RTC_CHECK_EQ(frames_per_buffer_, audio_parameters_.frames_per_10ms_buffer()); in InitRecording()
194 const int sample_rate_hz = audio_parameters_.sample_rate(); in AttachAudioBuffer()
197 const size_t channels = audio_parameters_.channels(); in AttachAudioBuffer()
Daaudio_wrapper.cc137 : audio_parameters_(audio_parameters), in AAudioWrapper()
143 RTC_LOG(INFO) << audio_parameters_.ToString(); in AAudioWrapper()
286 return audio_parameters_; in audio_parameters()
Dopensles_recorder.h138 const AudioParameters audio_parameters_; variable
Daudio_record_jni.h106 const AudioParameters audio_parameters_; variable
Daaudio_wrapper.h118 const AudioParameters audio_parameters_; variable
Daudio_track_jni.h99 const AudioParameters audio_parameters_; variable
Dopensles_player.h131 const AudioParameters audio_parameters_; variable