Home
last modified time | relevance | path

Searched refs:kBytesPerFrame (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/android/
Daudio_manager_unittest.cc137 const size_t kBytesPerFrame = 2; in TEST_F() local
146 EXPECT_EQ(kBytesPerFrame, params.GetBytesPerFrame()); in TEST_F()
147 EXPECT_EQ(kBytesPerFrame * kFramesPerBuffer, params.GetBytesPerBuffer()); in TEST_F()
148 EXPECT_EQ(kBytesPerFrame * kFramesPer10msBuffer, in TEST_F()
Daudio_track_jni.cc227 frames_per_buffer_ = direct_buffer_capacity_in_bytes_ / kBytesPerFrame; in OnCacheDirectBufferAddress()
242 RTC_DCHECK_EQ(frames_per_buffer_, length / kBytesPerFrame); in OnGetPlayoutData()
257 RTC_DCHECK_EQ(length, kBytesPerFrame * samples); in OnGetPlayoutData()
Daudio_common.h20 const size_t kBytesPerFrame = kNumChannels * (16 / 8); variable
Daudio_record_jni.cc142 frames_per_buffer_ * kBytesPerFrame); in InitRecording()