Lines Matching refs:ctrl_fd
93 /* move ctrl_fd outside output stream and keep open until HAL unloaded ? */
98 int ctrl_fd;
273 if (send(out->ctrl_fd, &cmd, 1, MSG_NOSIGNAL) == -1)
276 skt_disconnect(out->ctrl_fd);
277 out->ctrl_fd = AUDIO_SKT_DISCONNECTED;
282 if (recv(out->ctrl_fd, &ack, 1, MSG_NOSIGNAL) < 0)
285 skt_disconnect(out->ctrl_fd);
286 out->ctrl_fd = AUDIO_SKT_DISCONNECTED;
314 out->ctrl_fd = AUDIO_SKT_DISCONNECTED;
332 if (out->ctrl_fd == AUDIO_SKT_DISCONNECTED)
369 if (out->ctrl_fd == AUDIO_SKT_DISCONNECTED)
396 if (out->ctrl_fd == AUDIO_SKT_DISCONNECTED)
841 if ((out->ctrl_fd = skt_connect(out, A2DP_CTRL_PATH)) > 0)
849 skt_disconnect(out->ctrl_fd);
856 if (out->ctrl_fd == AUDIO_SKT_DISCONNECTED)
884 skt_disconnect(out->ctrl_fd);