Searched refs:cmd_msg (Results 1 – 2 of 2) sorted by relevance
340 struct add_stream_command_message cmd_msg; in TEST() local359 rc = read(client.command_fds[0], &cmd_msg, sizeof(cmd_msg)); in TEST()360 EXPECT_EQ(sizeof(cmd_msg), rc); in TEST()361 EXPECT_NE((void*)NULL, cmd_msg.stream); in TEST()363 EXPECT_EQ(1.0f, cmd_msg.stream->volume_scaler); in TEST()365 if (cmd_msg.stream->config) in TEST()366 free(cmd_msg.stream->config); in TEST()367 free(cmd_msg.stream); in TEST()
2463 struct add_stream_command_message cmd_msg; in cras_client_send_add_stream_command_message() local2499 cmd_msg.header.len = sizeof(cmd_msg); in cras_client_send_add_stream_command_message()2500 cmd_msg.header.msg_id = CLIENT_ADD_STREAM; in cras_client_send_add_stream_command_message()2501 cmd_msg.header.stream_id = stream->id; in cras_client_send_add_stream_command_message()2502 cmd_msg.stream = stream; in cras_client_send_add_stream_command_message()2503 cmd_msg.stream_id_out = stream_id_out; in cras_client_send_add_stream_command_message()2504 cmd_msg.dev_idx = dev_idx; in cras_client_send_add_stream_command_message()2505 rc = send_command_message(client, &cmd_msg.header); in cras_client_send_add_stream_command_message()