Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/webrtc/
Daudio_handler.cpp414 auto& holding_buffer = stream_descs_[stream_id].buffer; in OnPlaybackBuffer() local
434 current_time - ((buffer.len() - 1) / holding_buffer.buffer.size()) * 10; in OnPlaybackBuffer()
439 if (holding_buffer.empty() && in OnPlaybackBuffer()
440 buffer.len() - pos >= holding_buffer.buffer.size()) { in OnPlaybackBuffer()
451 pos += holding_buffer.buffer.size(); in OnPlaybackBuffer()
453 pos += holding_buffer.Add(buffer.get() + pos, buffer.len() - pos); in OnPlaybackBuffer()
454 if (holding_buffer.full()) { in OnPlaybackBuffer()
455 auto buffer_ptr = const_cast<const uint8_t*>(holding_buffer.data()); in OnPlaybackBuffer()
460 holding_buffer.count = 0; in OnPlaybackBuffer()
493 auto& holding_buffer = stream_descs_[stream_id].buffer; in OnCaptureBuffer() local
[all …]