Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/webrtc/
Daudio_handler.cpp411 auto& stream_desc = stream_descs_[stream_id]; in OnPlaybackBuffer() local
413 std::lock_guard<std::mutex> lock(stream_desc.mtx); in OnPlaybackBuffer()
423 if (!stream_desc.active) { in OnPlaybackBuffer()
436 const int frames = stream_desc.sample_rate / 100; in OnPlaybackBuffer()
448 stream_desc.bits_per_sample, stream_desc.sample_rate, in OnPlaybackBuffer()
449 stream_desc.channels, frames); in OnPlaybackBuffer()
457 buffer_ptr, stream_desc.bits_per_sample, stream_desc.sample_rate, in OnPlaybackBuffer()
458 stream_desc.channels, frames); in OnPlaybackBuffer()
471 auto& stream_desc = stream_descs_[stream_id]; in OnCaptureBuffer() local
473 std::lock_guard<std::mutex> lock(stream_desc.mtx); in OnCaptureBuffer()
[all …]