Home
last modified time | relevance | path

Searched refs:bytes_per_10_ms_ (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/
Dfine_audio_buffer.cc30 bytes_per_10_ms_(samples_per_10_ms_ * sizeof(int16_t)), in FineAudioBuffer()
36 5 * (desired_frame_size_bytes + bytes_per_10_ms_)), in FineAudioBuffer()
40 playout_cache_buffer_.reset(new int8_t[bytes_per_10_ms_]); in FineAudioBuffer()
51 return desired_frame_size_bytes_ + bytes_per_10_ms_; in RequiredPlayoutBufferSizeBytes()
57 memset(playout_cache_buffer_.get(), 0, bytes_per_10_ms_); in ResetPlayout()
74 bytes_per_10_ms_); in GetPlayoutData()
86 size_t number_of_requests = 1 + (bytes_left - 1) / (bytes_per_10_ms_); in GetPlayoutData()
95 unwritten_buffer += bytes_per_10_ms_; in GetPlayoutData()
97 bytes_left -= static_cast<int>(bytes_per_10_ms_); in GetPlayoutData()
104 playout_cached_bytes_ = number_of_requests * bytes_per_10_ms_ - in GetPlayoutData()
[all …]
Dfine_audio_buffer.h87 const size_t bytes_per_10_ms_; variable