Home
last modified time | relevance | path

Searched refs:cras_stream_id_t (Results 1 – 25 of 26) sorted by relevance

12

/external/adhd/cras/src/libcras/
Dcras_client.h79 cras_stream_id_t stream_id, uint8_t *samples,
100 cras_stream_id_t stream_id,
115 cras_stream_id_t stream_id, int error,
641 cras_stream_id_t *stream_id_out,
660 cras_stream_id_t *stream_id_out,
675 cras_stream_id_t stream_id);
687 cras_stream_id_t stream_id,
1127 cras_stream_id_t stream_id, int start, int fd);
1365 cras_stream_id_t *stream_id_out,
1368 cras_stream_id_t stream_id);
[all …]
Dcras_helpers.c21 play_buffer_callback(struct cras_client *client, cras_stream_id_t stream_id, in play_buffer_callback()
44 cras_stream_id_t stream_id, int error, in play_buffer_error()
109 unsigned int num_channels, int dev_idx, cras_stream_id_t *stream_id_out) in cras_helper_add_stream_simple()
145 cras_stream_id_t stream_id; in cras_helper_play_buffer()
Dcras_client.c75 cras_stream_id_t stream_id;
92 cras_stream_id_t *stream_id_out;
102 cras_stream_id_t stream_id;
157 cras_stream_id_t id;
233 cras_stream_id_t next_stream_id;
273 cras_stream_id_t stream_id;
280 cras_stream_id_t stream_id;
289 cras_stream_id_t *id) in stream_cb_get_stream_id()
324 libcras_stream_cb_data_create(cras_stream_id_t stream_id, in libcras_stream_cb_data_create()
370 cras_stream_id_t stream_id);
[all …]
Dcras_helpers.h71 cras_stream_id_t *stream_id_out);
/external/adhd/cras/src/tools/cras_router/
Dcras_router.c45 static int got_samples(struct cras_client *client, cras_stream_id_t stream_id, in got_samples()
65 static int put_samples(struct cras_client *client, cras_stream_id_t stream_id, in put_samples()
86 static int stream_error(struct cras_client *client, cras_stream_id_t stream_id, in stream_error()
94 static int start_stream(struct cras_client *client, cras_stream_id_t *stream_id, in start_stream()
113 cras_stream_id_t stream_id = 0; in run_file_io_stream()
143 cras_stream_id_t loop_stream_id = 0; in run_file_io_stream()
/external/adhd/cras/src/tests/
Dplayback_rclient_unittest.cc107 cras_stream_id_t stream_id = 0x10002; in TEST_F()
130 cras_stream_id_t stream_id = 0x10002; in TEST_F()
161 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
187 cras_stream_id_t stream_id = 0x10002; in TEST_F()
212 cras_stream_id_t stream_id = 0x10002; in TEST_F()
222 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
275 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
Dcapture_rclient_unittest.cc105 cras_stream_id_t stream_id = 0x10002; in TEST_F()
128 cras_stream_id_t stream_id = 0x10002; in TEST_F()
159 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
182 cras_stream_id_t stream_id = 0x10002; in TEST_F()
192 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
245 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
Dcras_client_unittest.cc15 static const cras_stream_id_t FIRST_STREAM_ID = 1;
110 cras_stream_id_t stream_id, in capture_samples_ready()
255 cras_stream_id_t stream_id; in TEST_F()
306 cras_stream_id_t stream_id; in TEST_F()
322 cras_stream_id_t stream_id; in TEST_F()
338 cras_stream_id_t stream_id; in TEST()
Ddev_io_stubs.h58 RstreamPtr create_rstream(cras_stream_id_t id,
64 StreamPtr create_stream(cras_stream_id_t id,
Dcras_abi_unittest.cc17 cras_stream_id_t cb_stream_id;
81 cras_stream_id_t id; in TEST_F()
Ddev_io_stubs.cc49 RstreamPtr create_rstream(cras_stream_id_t id, in create_rstream()
78 StreamPtr create_stream(cras_stream_id_t id, in create_stream()
Dcontrol_rclient_unittest.cc758 cras_stream_id_t stream_id, in audio_thread_set_aec_dump()
904 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
/external/adhd/cras/examples/
Dcplay.c22 static int put_samples(struct cras_client *client, cras_stream_id_t stream_id, in put_samples()
39 static int stream_error(struct cras_client *client, cras_stream_id_t stream_id, in stream_error()
50 cras_stream_id_t stream_id; in main()
Dcplay_buffer.c19 cras_stream_id_t stream_id; in main()
/external/adhd/cras/src/server/
Dcras_rstream_config.h39 cras_stream_id_t stream_id;
66 struct cras_rclient *client, cras_stream_id_t stream_id,
Dcras_rstream.h68 cras_stream_id_t stream_id;
116 static inline cras_stream_id_t
Dstream_list.h48 int stream_list_rm(struct stream_list *list, cras_stream_id_t id);
Daudio_thread.h198 cras_stream_id_t stream_id, unsigned int start,
Dcras_rstream_config.c24 struct cras_rclient *client, cras_stream_id_t stream_id, in cras_rstream_config_init()
Dstream_list.c113 int stream_list_rm(struct stream_list *list, cras_stream_id_t id) in stream_list_rm()
Daudio_thread.c109 cras_stream_id_t stream_id;
457 cras_stream_id_t stream_id, unsigned int start, in thread_set_aec_dump()
1093 cras_stream_id_t stream_id, unsigned int start, in audio_thread_set_aec_dump()
/external/adhd/cras/src/common/
Dcras_messages.h108 cras_stream_id_t stream_id; /* unique id for this stream */
125 cras_stream_id_t stream_id, enum CRAS_STREAM_TYPE stream_type, in cras_fill_connect_message()
151 cras_stream_id_t stream_id;
155 cras_stream_id_t stream_id) in cras_fill_disconnect_stream_message()
468 cras_stream_id_t stream_id;
473 cras_stream_id_t stream_id, in cras_fill_set_aec_dump_message()
549 cras_stream_id_t stream_id;
557 int err, cras_stream_id_t stream_id, in cras_fill_client_stream_connected()
Dcras_types.h665 typedef uint32_t cras_stream_id_t; typedef
667 static inline cras_stream_id_t cras_get_stream_id(uint16_t client_id, in cras_get_stream_id()
670 return (cras_stream_id_t)(((client_id & 0x0000ffff) << 16) | in cras_get_stream_id()
674 static inline bool cras_valid_stream_id(cras_stream_id_t stream_id, in cras_valid_stream_id()
/external/adhd/cras/src/alsa_plugin/
Dpcm_cras.c33 cras_stream_id_t stream_id;
117 cras_stream_id_t stream_id, in pcm_cras_process_cb()
208 cras_stream_id_t stream_id, int err, void *arg) in pcm_cras_error_cb()
/external/adhd/cras/src/tools/cras_test_client/
Dcras_test_client.c223 static int got_samples(struct cras_client *client, cras_stream_id_t stream_id, in got_samples()
257 static int put_samples(struct cras_client *client, cras_stream_id_t stream_id, in put_samples()
305 put_stdin_samples(struct cras_client *client, cras_stream_id_t stream_id, in put_stdin_samples()
322 static int stream_error(struct cras_client *client, cras_stream_id_t stream_id, in stream_error()
1241 static int start_stream(struct cras_client *client, cras_stream_id_t *stream_id, in start_stream()
1304 cras_stream_id_t stream_id = 0; in run_file_io_stream()
1976 cras_stream_id_t stream_id = 0; in main()

12