Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_rclient.c40 int aud_fd) in handle_client_stream_connect() argument
54 if (aud_fd < 0) { in handle_client_stream_connect()
60 cras_make_fd_nonblocking(aud_fd); in handle_client_stream_connect()
72 stream_config.audio_fd = aud_fd; in handle_client_stream_connect()
131 if (aud_fd >= 0) in handle_client_stream_connect()
132 close(aud_fd); in handle_client_stream_connect()
/external/adhd/cras/src/libcras/
Dcras_client.c153 int aud_fd; /* audio messages from server come in here. */ member
1076 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_capture_reply()
1158 rc = write(stream->aud_fd, &aud_msg, sizeof(aud_msg)); in send_playback_reply()
1245 int aud_fd; in audio_thread() local
1261 aud_fd = (stream->thread.state == CRAS_THREAD_WARMUP) ? in audio_thread()
1262 -1 : stream->aud_fd; in audio_thread()
1264 aud_fd, in audio_thread()
1528 stream->aud_fd = sock[0]; in send_connect_message()
1624 if (stream->aud_fd >= 0) in client_thread_rm_stream()
1625 close(stream->aud_fd); in client_thread_rm_stream()
[all …]