Home
last modified time | relevance | path

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

/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/
Dcapture_rclient_unittest.cc109 cras_stream_id_t stream_id = 0x10002; in TEST_F()
133 cras_stream_id_t stream_id = 0x10002; in TEST_F()
166 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
197 cras_stream_id_t stream_id = 0x10002; in TEST_F()
227 cras_stream_id_t stream_id = 0x10002; in TEST_F()
237 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
295 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
Dplayback_rclient_unittest.cc109 cras_stream_id_t stream_id = 0x10002; in TEST_F()
133 cras_stream_id_t stream_id = 0x10002; in TEST_F()
166 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
197 cras_stream_id_t stream_id = 0x10002; in TEST_F()
227 cras_stream_id_t stream_id = 0x10002; in TEST_F()
237 cras_stream_id_t stream_id = 0x20002; // stream_id with invalid client_id in TEST_F()
295 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,
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.cc803 cras_stream_id_t stream_id, in audio_thread_set_aec_dump()
954 int stream_list_rm(struct stream_list* list, cras_stream_id_t id) { in stream_list_rm()
/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,
628 cras_stream_id_t *stream_id_out,
647 cras_stream_id_t *stream_id_out,
662 cras_stream_id_t stream_id);
674 cras_stream_id_t stream_id,
1142 cras_stream_id_t stream_id, int start, int fd);
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;
284 cras_stream_id_t stream_id);
1500 cras_stream_id_t *stream_id_out, in client_thread_add_stream()
1504 cras_stream_id_t new_id; in client_thread_add_stream()
1554 cras_stream_id_t stream_id) in client_thread_rm_stream()
[all …]
Dcras_helpers.h71 cras_stream_id_t *stream_id_out);
/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.h64 cras_stream_id_t stream_id;
114 cras_stream_id_t stream_id;
140 struct cras_rclient *client, cras_stream_id_t stream_id,
190 static inline cras_stream_id_t
Dstream_list.h48 int stream_list_rm(struct stream_list *list, cras_stream_id_t id);
Daudio_thread.h186 cras_stream_id_t stream_id, unsigned int start,
Dstream_list.c99 int stream_list_rm(struct stream_list *list, cras_stream_id_t id) in stream_list_rm()
Daudio_thread.c102 cras_stream_id_t stream_id;
458 cras_stream_id_t stream_id, unsigned int start, in thread_set_aec_dump()
1065 cras_stream_id_t stream_id, unsigned int start, in audio_thread_set_aec_dump()
Dcras_rstream.c24 struct cras_rclient *client, cras_stream_id_t stream_id, in cras_rstream_config_init()
/external/adhd/cras/src/common/
Dcras_messages.h107 cras_stream_id_t stream_id; /* unique id for this stream */
130 cras_stream_id_t stream_id; /* unique id for this stream */
142 cras_stream_id_t stream_id, enum CRAS_STREAM_TYPE stream_type, in cras_fill_connect_message()
167 cras_stream_id_t stream_id;
171 cras_stream_id_t stream_id) in cras_fill_disconnect_stream_message()
487 cras_stream_id_t stream_id;
492 cras_stream_id_t stream_id, in cras_fill_set_aec_dump_message()
568 cras_stream_id_t stream_id;
576 int err, cras_stream_id_t stream_id, in cras_fill_client_stream_connected()
Dcras_types.h571 typedef uint32_t cras_stream_id_t; typedef
573 static inline cras_stream_id_t cras_get_stream_id(uint16_t client_id, in cras_get_stream_id()
576 return (cras_stream_id_t)(((client_id & 0x0000ffff) << 16) | in cras_get_stream_id()
580 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()
1001 static int start_stream(struct cras_client *client, cras_stream_id_t *stream_id, in start_stream()
1064 cras_stream_id_t stream_id = 0; in run_file_io_stream()
1722 cras_stream_id_t stream_id = 0; in main()
/external/adhd/cras/client/cras-sys/src/
Dgen.rs2313 pub type cras_stream_id_t = u32; typedef
2475 pub stream_id: cras_stream_id_t,
2647 pub stream_id: cras_stream_id_t,
2799 pub stream_id: cras_stream_id_t,
3628 pub stream_id: cras_stream_id_t,
3841 pub stream_id: cras_stream_id_t,