Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_rclient_util.c135 int aud_fd, int client_shm_fd) in rclient_handle_client_stream_connect() argument
146 rc = rclient_validate_stream_connect_params(client, msg, aud_fd, in rclient_handle_client_stream_connect()
155 if (aud_fd >= 0) in rclient_handle_client_stream_connect()
156 close(aud_fd); in rclient_handle_client_stream_connect()
161 cras_make_fd_nonblocking(aud_fd); in rclient_handle_client_stream_connect()
164 client, msg, &aud_fd, &client_shm_fd, &remote_fmt); in rclient_handle_client_stream_connect()
185 if (aud_fd >= 0) in rclient_handle_client_stream_connect()
186 close(aud_fd); in rclient_handle_client_stream_connect()
Dcras_rstream_config.c55 int *aud_fd, int *client_shm_fd, in cras_rstream_config_init_with_message() argument
65 msg->buffer_frames, msg->cb_threshold, aud_fd, in cras_rstream_config_init_with_message()
Dcras_rclient_util.h73 int aud_fd, int client_shm_fd);
Dcras_rstream_config.h90 int *aud_fd, int *client_shm_fd,
/external/adhd/cras/src/libcras/
Dcras_client.c158 int aud_fd; /* audio messages from server come in here. */ member
1155 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_capture_reply()
1239 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_playback_reply()
1329 int aud_fd; in audio_thread() local
1345 aud_fd = (stream->thread.state == CRAS_THREAD_WARMUP) ? in audio_thread()
1347 stream->aud_fd; in audio_thread()
1349 read_with_wake_fd(stream->wake_fds[0], aud_fd, in audio_thread()
1581 stream->aud_fd = sock[0]; in send_connect_message()
1688 if (stream->aud_fd >= 0) in client_thread_rm_stream()
1689 close(stream->aud_fd); in client_thread_rm_stream()
[all …]