Home
last modified time | relevance | path

Searched refs:audio_fd (Results 1 – 7 of 7) sorted by relevance

/external/adhd/cras/src/server/
Dcras_rstream_config.c28 size_t buffer_frames, size_t cb_threshold, int *audio_fd, in cras_rstream_config_init() argument
43 stream_config->audio_fd = *audio_fd; in cras_rstream_config_init()
44 *audio_fd = -1; in cras_rstream_config_init()
73 if (stream_config->audio_fd >= 0) in cras_rstream_config_cleanup()
74 close(stream_config->audio_fd); in cras_rstream_config_cleanup()
Dcras_rclient_util.c93 static int rclient_validate_stream_connect_fds(int audio_fd, int client_shm_fd, in rclient_validate_stream_connect_fds() argument
97 if (audio_fd < 0) { in rclient_validate_stream_connect_fds()
117 const struct cras_connect_message *msg, int audio_fd, int client_shm_fd) in rclient_validate_stream_connect_params() argument
125 rc = rclient_validate_stream_connect_fds(audio_fd, client_shm_fd, in rclient_validate_stream_connect_params()
Dcras_rstream_config.h49 int audio_fd; member
70 size_t buffer_frames, size_t cb_threshold, int *audio_fd,
Dserver_stream.c39 int audio_fd = -1; in server_stream_create() local
57 server_stream_block_size, &audio_fd, &client_shm_fd, in server_stream_create()
Dcras_rclient_util.h57 const struct cras_connect_message *msg, int audio_fd,
Dcras_rstream.c309 stream->fd = config->audio_fd; in cras_rstream_create()
310 config->audio_fd = -1; in cras_rstream_create()
/external/adhd/cras/src/tests/
Drstream_unittest.cc48 config_.audio_fd = sock[1]; in SetUp()
55 close(config_.audio_fd); in TearDown()