/device/google/cuttlefish/host/frontend/webrtc/ |
D | audio_handler.cpp | 123 bool IsCapture(uint32_t stream_id) { in IsCapture() argument 124 CHECK(stream_id < NUM_STREAMS) << "Invalid stream id: " << stream_id; in IsCapture() 125 return STREAMS[stream_id].direction == in IsCapture() 328 if (cmd.stream_id() >= NUM_STREAMS) { in SetStreamParameters() 332 const auto& stream_info = STREAMS[cmd.stream_id()]; in SetStreamParameters() 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() [all …]
|
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/ |
D | cf_webrtc.js | 247 getStream(stream_id) { argument 248 if (stream_id in this.#streams) { 249 return this.#streams[stream_id]; 254 onStream(stream_id) { argument 256 if (this.#streams[stream_id]) { 257 resolve(this.#streams[stream_id]); 259 if (!this.#streamPromiseResolvers[stream_id]) { 260 this.#streamPromiseResolvers[stream_id] = []; 262 this.#streamPromiseResolvers[stream_id].push(resolve);
|
D | app.js | 344 let stream_id = audio_desc.stream_id; 345 this.#deviceConnection.onStream(stream_id) 402 let stream_id = stream.id; 403 if (stream_id.startsWith('display_')) { 790 const stream_id = 'display_' + i.toString(); 791 const stream = this.#deviceConnection.getStream(stream_id); 793 let deviceDisplayVideo = document.querySelector('#' + stream_id); 808 deviceDisplayInfo.id = stream_id + '_info'; 811 deviceDisplayVideo.id = stream_id; 839 console.error('Failed to find device display for ', stream_id);
|
/device/google/cuttlefish/host/libs/audio_connector/ |
D | commands.cpp | 106 uint32_t stream_id) in StreamControlCommand() argument 107 : AudioCommand(type), stream_id_(stream_id) {} in StreamControlCommand() 116 uint32_t stream_id, uint32_t buffer_bytes, uint32_t period_bytes, in StreamSetParamsCommand() argument 119 stream_id), in StreamSetParamsCommand()
|
D | server.cpp | 202 StreamSetParamsCommand cmd(set_param_msg->hdr.stream_id.as_uint32_t(), in ReceiveCommands() 218 pcm_op_msg->stream_id.as_uint32_t()); in ReceiveCommands() 229 pcm_op_msg->stream_id.as_uint32_t()); in ReceiveCommands() 240 pcm_op_msg->stream_id.as_uint32_t()); in ReceiveCommands() 251 pcm_op_msg->stream_id.as_uint32_t()); in ReceiveCommands()
|
D | commands.h | 93 StreamControlCommand(AudioCommandType type, uint32_t stream_id); 95 uint32_t stream_id() const { return stream_id_; } in stream_id() function 105 StreamSetParamsCommand(uint32_t stream_id, uint32_t buffer_bytes,
|
D | buffers.cpp | 47 uint32_t ShmBuffer::stream_id() const { in stream_id() function in cuttlefish::ShmBuffer 48 return header_.stream_id.as_uint32_t(); in stream_id()
|
D | shm_layout.h | 200 Le32 stream_id; member 215 Le32 stream_id; member
|
D | buffers.h | 50 uint32_t stream_id() const;
|
/device/google/cuttlefish/guest/hals/camera/ |
D | vsock_camera_device_session_3_4.cpp | 436 int32_t stream_id, ErrorCode code) { in notifyError() argument 440 msg.msg.error.errorStreamId = stream_id; in notifyError() 481 auto stream_id = buffer ? buffer->streamId() : -1; in processRequestLoop() local 482 if (!buffer || stream_cache_.count(stream_id) == 0) { in processRequestLoop() 489 auto stream = stream_cache_[stream_id]; in processRequestLoop()
|
D | vsock_camera_device_session_3_4.h | 116 void notifyError(uint32_t frame_number, int32_t stream_id, ErrorCode code);
|
/device/google/redbull-kernel/sm7250/kernel-headers/linux/ |
D | msm_audio.h | 281 uint32_t stream_id; member
|
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/ |
D | msm_audio.h | 395 uint32_t stream_id; member
|
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/ |
D | msm_audio.h | 404 uint32_t stream_id; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | msm_audio.h | 404 uint32_t stream_id; member
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | msm_audio.h | 293 uint32_t stream_id; member
|
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/ |
D | msm_audio.h | 293 uint32_t stream_id; member
|