Searched refs:samples_fd (Results 1 – 6 of 6) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_rstream.h | 196 int *header_fd, int *samples_fd) in cras_rstream_get_shm_fds() argument 198 if (!header_fd || !samples_fd) in cras_rstream_get_shm_fds() 202 *samples_fd = stream->shm->samples_info.fd; in cras_rstream_get_shm_fds()
|
D | cras_rclient_util.c | 142 int rc, header_fd, samples_fd; in rclient_handle_client_stream_connect() local 196 rc = cras_rstream_get_shm_fds(stream, &header_fd, &samples_fd); in rclient_handle_client_stream_connect() 203 stream_fds[1] = samples_fd; in rclient_handle_client_stream_connect()
|
/external/adhd/cras/src/tests/ |
D | rstream_unittest.cc | 132 int rc, header_fd = -1, samples_fd = -1; in TEST_F() local 150 cras_rstream_get_shm_fds(s, &header_fd, &samples_fd); in TEST_F() 169 int rc, header_fd = -1, samples_fd = -1; in TEST_F() local 188 cras_rstream_get_shm_fds(s, &header_fd, &samples_fd); in TEST_F()
|
/external/adhd/cras/client/libcras/src/ |
D | cras_shm.rs | 788 fn new(samples_fd: CrasShmFd) -> io::Result<Self> { in new() 793 samples_fd.size, in new() 795 samples_fd.as_raw_fd(), in new() 800 len: samples_fd.size, in new() 825 samples_fd: CrasShmFd, in create_header_and_buffers() 827 let header = CrasAudioHeader::new(header_fd, samples_fd.size)?; in create_header_and_buffers() 828 let buffer = CrasAudioBuffer::new(samples_fd)?; in create_header_and_buffers() 1166 let samples_fd = cras_audio_samples_fd(20); in create_header_and_buffers_test() localVariable 1167 let res = create_header_and_buffers(header_fd, samples_fd); in create_header_and_buffers_test()
|
D | cras_stream.rs | 148 samples_fd: CrasShmFd, in try_new() 150 let (header, audio_buffer) = create_header_and_buffers(header_fd, samples_fd)?; in try_new()
|
D | libcras.rs | 440 if let ServerResult::StreamConnected(_stream_id, header_fd, samples_fd) = result { in create_stream() 451 samples_fd, in create_stream()
|