Lines Matching refs:cras_client
61 struct cras_client;
78 typedef int (*cras_playback_cb_t)(struct cras_client *client,
99 typedef int (*cras_unified_cb_t)(struct cras_client *client,
114 typedef int (*cras_error_cb_t)(struct cras_client *client,
149 typedef void (*cras_connection_status_cb_t)(struct cras_client *client,
154 typedef void (*cras_thread_priority_cb_t)(struct cras_client *client);
157 typedef void (*get_hotword_models_cb_t)(struct cras_client *client,
161 typedef void (*cras_hotword_trigger_cb_t)(struct cras_client *client,
166 typedef int (*cras_hotword_error_cb_t)(struct cras_client *client,
181 int cras_client_create(struct cras_client **client);
192 int cras_client_create_with_type(struct cras_client **client,
199 void cras_client_destroy(struct cras_client *client);
208 int cras_client_connect(struct cras_client *client);
217 int cras_client_connect_timeout(struct cras_client *client,
230 int cras_client_run_thread(struct cras_client *client);
240 int cras_client_stop(struct cras_client *client);
255 int cras_client_connected_wait(struct cras_client *client);
271 int cras_client_connect_async(struct cras_client *client);
284 struct cras_client *client, cras_connection_status_cb_t connection_cb,
292 void cras_client_set_thread_priority_cb(struct cras_client *client,
313 int cras_client_get_output_devices(const struct cras_client *client,
336 int cras_client_get_input_devices(const struct cras_client *client,
357 int cras_client_get_attached_clients(const struct cras_client *client,
376 int cras_client_get_node_by_id(const struct cras_client *client, int input,
398 int cras_client_output_dev_plugged(const struct cras_client *client,
411 int cras_client_set_node_attr(struct cras_client *client,
423 int cras_client_select_node(struct cras_client *client,
435 int cras_client_add_active_node(struct cras_client *client,
447 int cras_client_rm_active_node(struct cras_client *client,
458 int cras_client_reload_dsp(struct cras_client *client);
467 int cras_client_dump_dsp_info(struct cras_client *client);
477 int cras_client_update_audio_debug_info(struct cras_client *client,
478 void (*cb)(struct cras_client *));
487 int cras_client_update_main_thread_debug_info(struct cras_client *client,
488 void (*cb)(struct cras_client *));
497 int cras_client_update_bt_debug_info(struct cras_client *client,
498 void (*cb)(struct cras_client *));
508 int cras_client_get_atlog_access(struct cras_client *client,
509 void (*atlog_access_cb)(struct cras_client *));
523 int cras_client_read_atlog(struct cras_client *client, uint64_t *read_idx,
535 int cras_client_update_audio_thread_snapshots(struct cras_client *client,
536 void (*cb)(struct cras_client *));
547 int cras_client_get_max_supported_channels(const struct cras_client *client,
640 int cras_client_add_stream(struct cras_client *client,
659 int cras_client_add_pinned_stream(struct cras_client *client, uint32_t dev_idx,
674 int cras_client_rm_stream(struct cras_client *client,
686 int cras_client_set_stream_volume(struct cras_client *client,
706 int cras_client_set_system_volume(struct cras_client *client, size_t volume);
717 int cras_client_set_system_mute(struct cras_client *client, int mute);
730 int cras_client_set_user_mute(struct cras_client *client, int mute);
743 int cras_client_set_system_mute_locked(struct cras_client *client, int locked);
756 int cras_client_set_system_capture_mute(struct cras_client *client, int mute);
769 int cras_client_set_system_capture_mute_locked(struct cras_client *client,
781 size_t cras_client_get_system_volume(const struct cras_client *client);
792 int cras_client_get_system_muted(const struct cras_client *client);
803 int cras_client_get_user_muted(const struct cras_client *client);
814 int cras_client_get_system_capture_muted(const struct cras_client *client);
823 long cras_client_get_system_min_volume(const struct cras_client *client);
832 long cras_client_get_system_max_volume(const struct cras_client *client);
840 int cras_client_get_default_output_buffer_size(struct cras_client *client);
854 cras_client_get_audio_debug_info(const struct cras_client *client);
867 cras_client_get_bt_debug_info(const struct cras_client *client);
877 cras_client_get_main_thread_debug_info(const struct cras_client *client);
891 cras_client_get_audio_thread_snapshot_buffer(const struct cras_client *client);
908 unsigned cras_client_get_num_active_streams(const struct cras_client *client,
956 int cras_client_set_node_volume(struct cras_client *client,
966 int cras_client_swap_node_left_right(struct cras_client *client,
977 int cras_client_set_node_capture_gain(struct cras_client *client,
986 int cras_client_add_test_iodev(struct cras_client *client,
998 int cras_client_test_iodev_command(struct cras_client *client,
1017 int cras_client_get_first_node_type_idx(const struct cras_client *client,
1034 int cras_client_get_first_dev_type_idx(const struct cras_client *client,
1046 int cras_client_set_suspend(struct cras_client *client, int suspend);
1057 int cras_client_config_global_remix(struct cras_client *client,
1070 int cras_client_get_hotword_models(struct cras_client *client,
1086 int cras_client_set_hotword_model(struct cras_client *client,
1103 struct cras_client *client, void *user_data,
1116 int cras_client_disable_hotword_callback(struct cras_client *client,
1126 int cras_client_set_aec_dump(struct cras_client *client,
1131 int cras_client_reload_aec_config(struct cras_client *client);
1136 int cras_client_get_aec_supported(struct cras_client *client);
1141 int cras_client_get_aec_group_id(struct cras_client *client);
1146 int cras_client_set_bt_wbs_enabled(struct cras_client *client, bool enabled);
1153 void cras_client_set_state_change_callback_context(struct cras_client *client,
1283 struct cras_client *client,
1286 struct cras_client *client,
1289 struct cras_client *client,
1292 struct cras_client *client,
1295 struct cras_client *client, cras_client_nodes_changed_callback cb);
1297 struct cras_client *client,
1300 struct cras_client *client,
1303 struct cras_client *client,
1306 struct cras_client *client,
1309 struct cras_client *client,
1357 struct cras_client *client_;
1358 int (*connect)(struct cras_client *client);
1359 int (*connect_timeout)(struct cras_client *client,
1361 int (*connected_wait)(struct cras_client *client);
1362 int (*run_thread)(struct cras_client *client);
1363 int (*stop)(struct cras_client *client);
1364 int (*add_pinned_stream)(struct cras_client *client, uint32_t dev_idx,
1367 int (*rm_stream)(struct cras_client *client,
1369 int (*set_stream_volume)(struct cras_client *client,
1372 int (*get_nodes)(struct cras_client *client,
1375 int (*get_default_output_buffer_size)(struct cras_client *client,
1377 int (*get_aec_group_id)(struct cras_client *client, int *id);
1378 int (*get_aec_supported)(struct cras_client *client, int *supported);
1379 int (*get_system_muted)(struct cras_client *client, int *muted);
1380 int (*set_system_mute)(struct cras_client *client, int mute);
1381 int (*get_loopback_dev_idx)(struct cras_client *client, int *idx);