Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/frontend/webrtc/
Daudio_handler.cpp286 stream_descs_(NUM_STREAMS), in AudioHandler()
343 std::lock_guard<std::mutex> lock(stream_descs_[cmd.stream_id()].mtx); in SetStreamParameters()
344 stream_descs_[cmd.stream_id()].bits_per_sample = bits_per_sample; in SetStreamParameters()
345 stream_descs_[cmd.stream_id()].sample_rate = sample_rate; in SetStreamParameters()
346 stream_descs_[cmd.stream_id()].channels = channels; in SetStreamParameters()
348 stream_descs_[cmd.stream_id()].buffer.Reset(len10ms); in SetStreamParameters()
374 stream_descs_[cmd.stream_id()].active = true; in StartStream()
383 stream_descs_[cmd.stream_id()].active = false; in StopStream()
411 auto& stream_desc = stream_descs_[stream_id]; in OnPlaybackBuffer()
414 auto& holding_buffer = stream_descs_[stream_id].buffer; in OnPlaybackBuffer()
[all …]
Daudio_handler.h81 std::vector<StreamDesc> stream_descs_ = {}; variable