Home
last modified time | relevance | path

Searched refs:frames_per_buffer_ (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h150 frames_per_buffer_(0), in AudioParameters()
155 frames_per_buffer_(frames_per_buffer), in AudioParameters()
160 frames_per_buffer_ = frames_per_buffer; in reset()
173 size_t frames_per_buffer() const { return frames_per_buffer_; } in frames_per_buffer()
177 return frames_per_buffer_ * GetBytesPerFrame(); in GetBytesPerBuffer()
186 bool is_complete() const { return (is_valid() && (frames_per_buffer_ > 0)); } in is_complete()
193 return frames_per_buffer_ / (sample_rate_ / 1000.0); in GetBufferSizeInMilliseconds()
198 return static_cast<double>(frames_per_buffer_) / (sample_rate_); in GetBufferSizeInSeconds()
204 size_t frames_per_buffer_; variable
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_record_jni.cc83 frames_per_buffer_(0), in AudioRecordJni()
139 frames_per_buffer_ = static_cast<size_t>(frames_per_buffer); in InitRecording()
140 ALOGD("frames_per_buffer: %" PRIuS, frames_per_buffer_); in InitRecording()
142 frames_per_buffer_ * kBytesPerFrame); in InitRecording()
143 RTC_CHECK_EQ(frames_per_buffer_, audio_parameters_.frames_per_10ms_buffer()); in InitRecording()
250 frames_per_buffer_); in OnDataIsRecorded()
Daudio_track_jni.cc76 frames_per_buffer_(0), in AudioTrackJni()
227 frames_per_buffer_ = direct_buffer_capacity_in_bytes_ / kBytesPerFrame; in OnCacheDirectBufferAddress()
228 ALOGD("frames_per_buffer: %" PRIuS, frames_per_buffer_); in OnCacheDirectBufferAddress()
242 RTC_DCHECK_EQ(frames_per_buffer_, length / kBytesPerFrame); in OnGetPlayoutData()
248 int samples = audio_device_buffer_->RequestPlayoutData(frames_per_buffer_); in OnGetPlayoutData()
253 RTC_DCHECK_EQ(static_cast<size_t>(samples), frames_per_buffer_); in OnGetPlayoutData()
Daudio_device_unittest.cc162 : frames_per_buffer_(frames_per_buffer), in FifoAudioStream()
163 bytes_per_buffer_(frames_per_buffer_ * sizeof(int16_t)), in FifoAudioStream()
179 ASSERT_EQ(num_frames, frames_per_buffer_); in Write()
184 int16_t* memory = new int16_t[frames_per_buffer_]; in Write()
202 ASSERT_EQ(num_frames, frames_per_buffer_); in Read()
240 const size_t frames_per_buffer_; member in webrtc::FifoAudioStream
256 frames_per_buffer_(frames_per_buffer), in LatencyMeasuringAudioStream()
257 bytes_per_buffer_(frames_per_buffer_ * sizeof(int16_t)), in LatencyMeasuringAudioStream()
265 ASSERT_EQ(num_frames, frames_per_buffer_); in Read()
287 ASSERT_EQ(num_frames, frames_per_buffer_); in Write()
[all …]
Daudio_track_jni.h138 size_t frames_per_buffer_; variable
Daudio_record_jni.h150 size_t frames_per_buffer_; variable
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_unittest_ios.cc163 : frames_per_buffer_(frames_per_buffer), in FifoAudioStream()
164 bytes_per_buffer_(frames_per_buffer_ * sizeof(int16_t)), in FifoAudioStream()
178 ASSERT_EQ(num_frames, frames_per_buffer_); in Write()
183 int16_t* memory = new int16_t[frames_per_buffer_]; in Write()
199 ASSERT_EQ(num_frames, frames_per_buffer_); in Read()
234 const size_t frames_per_buffer_; member in webrtc::FifoAudioStream
250 frames_per_buffer_(frames_per_buffer), in LatencyMeasuringAudioStream()
251 bytes_per_buffer_(frames_per_buffer_ * sizeof(int16_t)), in LatencyMeasuringAudioStream()
258 ASSERT_EQ(num_frames, frames_per_buffer_); in Read()
280 ASSERT_EQ(num_frames, frames_per_buffer_); in Write()
[all …]