/external/webrtc/modules/audio_device/android/ |
D | opensles_recorder.cc | 48 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 …]
|
D | opensles_player.cc | 47 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 …]
|
D | audio_record_jni.cc | 88 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()
|
D | audio_track_jni.cc | 99 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()
|
D | aaudio_wrapper.cc | 140 ? 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()
|
D | opensles_recorder.h | 141 const AudioParameters audio_parameters_; variable
|
D | opensles_player.h | 131 const AudioParameters audio_parameters_; variable
|
D | aaudio_wrapper.h | 118 AudioParameters audio_parameters_; variable
|
D | audio_record_jni.h | 138 const AudioParameters audio_parameters_; variable
|
D | audio_track_jni.h | 134 const AudioParameters audio_parameters_; variable
|
/external/webrtc/sdk/android/src/jni/audio_device/ |
D | opensles_recorder.cc | 49 : 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 …]
|
D | opensles_player.cc | 48 : 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 …]
|
D | audio_track_jni.cc | 40 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()
|
D | audio_record_jni.cc | 63 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()
|
D | aaudio_wrapper.cc | 137 : audio_parameters_(audio_parameters), in AAudioWrapper() 143 RTC_LOG(INFO) << audio_parameters_.ToString(); in AAudioWrapper() 286 return audio_parameters_; in audio_parameters()
|
D | opensles_recorder.h | 138 const AudioParameters audio_parameters_; variable
|
D | audio_record_jni.h | 106 const AudioParameters audio_parameters_; variable
|
D | aaudio_wrapper.h | 118 const AudioParameters audio_parameters_; variable
|
D | audio_track_jni.h | 99 const AudioParameters audio_parameters_; variable
|
D | opensles_player.h | 131 const AudioParameters audio_parameters_; variable
|