Home
last modified time | relevance | path

Searched refs:cras_client (Results 1 – 13 of 13) sorted by relevance

/external/adhd/cras/src/libcras/
Dcras_client.h61 struct cras_client;
78 typedef int (*cras_playback_cb_t)(struct cras_client *client,
100 typedef int (*cras_unified_cb_t)(struct cras_client *client,
116 typedef int (*cras_error_cb_t)(struct cras_client *client,
136 typedef void (*cras_server_error_cb_t)(struct cras_client *client,
170 typedef void (*cras_connection_status_cb_t)(struct cras_client *client,
175 typedef void (*cras_thread_priority_cb_t)(struct cras_client *client);
178 typedef void (*get_hotword_models_cb_t)(struct cras_client *client,
182 typedef void (*cras_hotword_trigger_cb_t)(struct cras_client *client,
187 typedef int (*cras_hotword_error_cb_t)(struct cras_client *client,
[all …]
Dcras_client.c159 struct cras_client *client;
219 struct cras_client { struct
237 void (*debug_info_callback)(struct cras_client *); argument
254 struct cras_client client; argument
279 static int client_thread_rm_stream(struct cras_client *client,
281 static int handle_message_from_server(struct cras_client *client);
282 static int reregister_notifications(struct cras_client *client);
292 static void server_state_unlock(const struct cras_client *client, in server_state_unlock()
315 static int server_state_rdlock(const struct cras_client *client) in server_state_rdlock()
341 static int server_state_wrlock(const struct cras_client *client) in server_state_wrlock()
[all …]
Dcras_helpers.h25 int cras_helper_create_connect_async(struct cras_client **client,
38 int cras_helper_create_connect(struct cras_client **client);
59 int cras_helper_add_stream_simple(struct cras_client *client,
83 int cras_helper_play_buffer(struct cras_client *client,
Dcras_helpers.c20 static int play_buffer_callback(struct cras_client *client, in play_buffer_callback()
46 static int play_buffer_error(struct cras_client *client, in play_buffer_error()
55 int cras_helper_create_connect_async(struct cras_client **client, in cras_helper_create_connect_async()
82 int cras_helper_create_connect(struct cras_client **client) in cras_helper_create_connect()
109 int cras_helper_add_stream_simple(struct cras_client *client, in cras_helper_add_stream_simple()
147 int cras_helper_play_buffer(struct cras_client *client, in cras_helper_play_buffer()
/external/adhd/cras/src/tests/
Dcras_monitor.c82 const char *node_name_for_node_id(struct cras_client *client, in node_name_for_node_id()
136 struct cras_client *client = (struct cras_client *)context; in active_node_changed()
145 struct cras_client *client = (struct cras_client *)context; in output_node_volume_changed()
155 struct cras_client *client = (struct cras_client *)context; in node_left_right_swapped_changed()
165 struct cras_client *client = (struct cras_client *)context; in input_node_gain_changed()
180 static void server_connection_callback(struct cras_client *client, in server_connection_callback()
211 struct cras_client *client; in main()
Dcras_test_client.c125 static int got_samples(struct cras_client *client, in got_samples()
162 static int put_samples(struct cras_client *client, in put_samples()
212 static int put_stdin_samples(struct cras_client *client, in put_stdin_samples()
233 static int stream_error(struct cras_client *client, in stream_error()
298 static void print_device_lists(struct cras_client *client) in print_device_lists()
326 static void print_attached_client_list(struct cras_client *client) in print_attached_client_list()
347 static void print_active_stream_info(struct cras_client *client) in print_active_stream_info()
358 static void print_system_volumes(struct cras_client *client) in print_system_volumes()
370 static void print_user_muted(struct cras_client *client) in print_user_muted()
627 static void audio_debug_info(struct cras_client *client) in audio_debug_info()
[all …]
Dcras_router.c45 static int got_samples(struct cras_client *client, in got_samples()
68 static int put_samples(struct cras_client *client, in put_samples()
92 static int stream_error(struct cras_client *client, in stream_error()
102 static int start_stream(struct cras_client *client, in start_stream()
119 static int run_file_io_stream(struct cras_client *client, in run_file_io_stream()
215 struct cras_client *client; in main()
Dcras_client_unittest.cc95 struct cras_client client_;
110 int capture_samples_ready(cras_client* client, in capture_samples_ready()
/external/adhd/cras/examples/
Dcplay.c22 static int put_samples(struct cras_client *client, in put_samples()
42 static int stream_error(struct cras_client *client, in stream_error()
54 struct cras_client *client; in main()
Dcplay_buffer.c18 struct cras_client *client; in main()
/external/adhd/cras/src/alsa_plugin/
Dctl_cras.c45 struct cras_client *client;
122 static long capture_index_to_gain(struct cras_client *client, long index) in capture_index_to_gain()
142 static long capture_gain_to_index(struct cras_client *client, long gain) in capture_gain_to_index()
162 static int get_nodes(struct cras_client *client, in get_nodes()
Dpcm_cras.c37 struct cras_client *client;
118 static int pcm_cras_process_cb(struct cras_client *client, in pcm_cras_process_cb()
214 static int pcm_cras_error_cb(struct cras_client *client, in pcm_cras_error_cb()
/external/adhd/cras/src/
DAndroid.bp10 "libcras/cras_client.c",