Searched refs:audio_fd (Results 1 – 7 of 7) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_rstream_config.c | 28 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()
|
D | cras_rclient_util.c | 93 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()
|
D | cras_rstream_config.h | 49 int audio_fd; member 70 size_t buffer_frames, size_t cb_threshold, int *audio_fd,
|
D | server_stream.c | 39 int audio_fd = -1; in server_stream_create() local 57 server_stream_block_size, &audio_fd, &client_shm_fd, in server_stream_create()
|
D | cras_rclient_util.h | 57 const struct cras_connect_message *msg, int audio_fd,
|
D | cras_rstream.c | 309 stream->fd = config->audio_fd; in cras_rstream_create() 310 config->audio_fd = -1; in cras_rstream_create()
|
/external/adhd/cras/src/tests/ |
D | rstream_unittest.cc | 48 config_.audio_fd = sock[1]; in SetUp() 55 close(config_.audio_fd); in TearDown()
|