Home
last modified time | relevance | path

Searched refs:snd_config_t (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/alsa-lib/include/
Dconf.h69 typedef struct _snd_config snd_config_t; typedef
85 extern snd_config_t *snd_config;
89 int snd_config_top(snd_config_t **config);
91 int snd_config_load(snd_config_t *config, snd_input_t *in);
92 int snd_config_load_string(snd_config_t **config, const char *s, size_t size);
93 int snd_config_load_override(snd_config_t *config, snd_input_t *in);
94 int snd_config_save(snd_config_t *config, snd_output_t *out);
96 int snd_config_update_r(snd_config_t **top, snd_config_update_t **update, const char *path);
100 int snd_config_update_ref(snd_config_t **top);
101 void snd_config_ref(snd_config_t *top);
[all …]
Dpcm_plugin.h74 snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf,
83 snd_config_t *root, snd_config_t *conf,
93 snd_config_t *root, snd_config_t *conf,
103 snd_config_t *root, snd_config_t *conf,
113 snd_config_t *root, snd_config_t *conf,
123 snd_config_t *root, snd_config_t *conf,
133 snd_config_t *root, snd_config_t *conf,
139 int snd_pcm_route_load_ttable(snd_config_t *tt, snd_pcm_route_ttable_entry_t *ttable,
143 int snd_pcm_route_determine_ttable(snd_config_t *tt,
153 snd_config_t *root, snd_config_t *conf,
[all …]
Dcontrol_plugin.h45 int _snd_ctl_hw_open(snd_ctl_t **handlep, char *name, snd_config_t *root, snd_config_t *conf, int m…
50 int snd_ctl_remap_open(snd_ctl_t **handlep, const char *name, snd_config_t *remap,
51 snd_config_t *map, snd_ctl_t *child, int mode);
52 int _snd_ctl_remap_open(snd_ctl_t **handlep, char *name, snd_config_t *root, snd_config_t *conf, in…
/third_party/alsa-utils/topology/
Dpre-processor.h35 typedef int (*build_func)(struct tplg_pre_processor *tplg_pp, snd_config_t *obj,
36 snd_config_t *parent);
39 snd_config_t *obj, snd_config_t *parent);
54 void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg);
57 int tplg_build_object_from_template(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg,
58 snd_config_t **wtop, snd_config_t *top_config,
60 int tplg_build_tlv_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg,
61 snd_config_t *parent);
62 int tplg_build_scale_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg,
63 snd_config_t *parent);
[all …]
Dpre-process-object.c32 snd_config_t *obj_cfg, snd_config_t *parent) in tplg_build_vendor_token_object()
35 snd_config_t *vtop, *n, *obj; in tplg_build_vendor_token_object()
50 snd_config_t *dst; in tplg_build_vendor_token_object()
78 int tplg_parent_update(struct tplg_pre_processor *tplg_pp, snd_config_t *parent, in tplg_parent_update()
82 snd_config_t *child, *cfg, *top, *item_config, *n; in tplg_parent_update()
179 int tplg_build_data_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_data_object()
180 snd_config_t *parent) in tplg_build_data_object()
182 snd_config_t *dtop; in tplg_build_data_object()
198 snd_config_t **template, in tplg_create_config_template()
201 snd_config_t *top, *child; in tplg_create_config_template()
[all …]
Dpre-process-class.c28 bool tplg_class_is_attribute_check(const char *attr, snd_config_t *class_cfg, char *category) in tplg_class_is_attribute_check()
31 snd_config_t *cfg, *n; in tplg_class_is_attribute_check()
56 bool tplg_class_is_attribute_mandatory(const char *attr, snd_config_t *class_cfg) in tplg_class_is_attribute_mandatory()
62 bool tplg_class_is_attribute_immutable(const char *attr, snd_config_t *class_cfg) in tplg_class_is_attribute_immutable()
68 bool tplg_class_is_attribute_unique(const char *attr, snd_config_t *class_cfg) in tplg_class_is_attribute_unique()
70 snd_config_t *unique; in tplg_class_is_attribute_unique()
92 snd_config_t *tplg_class_lookup(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) in tplg_class_lookup()
95 snd_config_t *class, *class_cfg = NULL; in tplg_class_lookup()
129 snd_config_t *tplg_class_find_attribute_by_name(struct tplg_pre_processor *tplg_pp, in tplg_class_find_attribute_by_name()
130 snd_config_t *class, const char *name) in tplg_class_find_attribute_by_name()
[all …]
Dpre-process-dapm.c26 int tplg_build_base_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_base_object()
27 snd_config_t *parent, bool skip_name) in tplg_build_base_object()
29 snd_config_t *top, *parent_obj, *cfg, *dest; in tplg_build_base_object()
55 int tplg_build_scale_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_scale_object()
56 snd_config_t *parent) in tplg_build_scale_object()
61 int tplg_build_ops_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_ops_object()
62 snd_config_t *parent) in tplg_build_ops_object()
67 int tplg_build_channel_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_channel_object()
68 snd_config_t *parent) in tplg_build_channel_object()
73 int tplg_build_tlv_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_tlv_object()
[all …]
Dpre-processor.c39 snd_config_t *tplg_find_config(snd_config_t *config, const char *name) in tplg_find_config()
42 snd_config_t *n; in tplg_find_config()
58 int tplg_config_make_add(snd_config_t **config, const char *id, snd_config_type_t type, in tplg_config_make_add()
59 snd_config_t *parent) in tplg_config_make_add()
114 void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) in tplg_pp_config_debug()
120 void tplg_pp_config_debug(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg){} in tplg_pp_config_debug()
123 static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *cfg) in pre_process_config()
126 snd_config_t *n, *n2; in pre_process_config()
229 snd_config_t *top) in pre_process_defines()
231 snd_config_t *conf_defines, *defines; in pre_process_defines()
[all …]
Dpre-process-dai.c27 snd_config_t *obj_cfg, snd_config_t *parent) in tplg_build_hw_cfg_object()
29 snd_config_t *hw_cfg, *obj; in tplg_build_hw_cfg_object()
46 int tplg_build_fe_dai_object(struct tplg_pre_processor *tplg_pp, snd_config_t *obj_cfg, in tplg_build_fe_dai_object()
47 snd_config_t *parent) in tplg_build_fe_dai_object()
53 snd_config_t *obj_cfg, snd_config_t *parent) in tplg_update_pcm_object()
55 snd_config_t *top, *parent_obj, *obj, *dest, *cfg, *pcm, *child; in tplg_update_pcm_object()
126 snd_config_t *obj_cfg, snd_config_t *parent) in tplg_build_pcm_caps_object()
128 snd_config_t *caps; in tplg_build_pcm_caps_object()
/third_party/alsa-lib/src/
Dconfmisc.c117 int snd_config_get_bool(const snd_config_t *conf) in snd_config_get_bool()
151 int snd_config_get_card(const snd_config_t *conf) in snd_config_get_card()
203 int snd_config_get_ctl_iface(const snd_config_t *conf) in snd_config_get_ctl_iface()
255 int snd_func_getenv(snd_config_t **dst, snd_config_t *root, snd_config_t *src, in snd_func_getenv()
256 snd_config_t *private_data) in snd_func_getenv()
258 snd_config_t *n, *d; in snd_func_getenv()
292 snd_config_t *n = snd_config_iterator_entry(i); in snd_func_getenv()
355 int snd_func_igetenv(snd_config_t **dst, snd_config_t *root, snd_config_t *src, in snd_func_igetenv()
356 snd_config_t *private_data) in snd_func_igetenv()
358 snd_config_t *d; in snd_func_igetenv()
[all …]
Dconf.c461 snd_config_t *parent;
1121 static int _snd_config_make(snd_config_t **config, char **id, snd_config_type_t type) in _snd_config_make()
1123 snd_config_t *n; in _snd_config_make()
1145 static int _snd_config_make_add(snd_config_t **config, char **id, in _snd_config_make_add()
1146 snd_config_type_t type, snd_config_t *parent) in _snd_config_make_add()
1148 snd_config_t *n; in _snd_config_make_add()
1160 static int _snd_config_search(snd_config_t *config, in _snd_config_search()
1161 const char *id, int len, snd_config_t **result) in _snd_config_search()
1165 snd_config_t *n = snd_config_iterator_entry(i); in _snd_config_search()
1179 static int parse_value(snd_config_t **_n, snd_config_t *parent, input_t *input, char **id, int skip) in parse_value()
[all …]
/third_party/alsa-lib/src/ucm/
Ducm_include.c29 static int get_string(snd_config_t *compound, const char *key, const char **str) in get_string()
31 snd_config_t *node; in get_string()
41 snd_config_t *inc, in include_eval_one()
42 snd_config_t **result, in include_eval_one()
43 snd_config_t **before, in include_eval_one()
44 snd_config_t **after) in include_eval_one()
84 static void config_dump(snd_config_t *cfg)
95 snd_config_t **res, snd_config_t *dst, in find_position_node()
96 const char *id, snd_config_t *pos) in find_position_node()
117 static int merge_it(snd_config_t *dst, snd_config_t *n, snd_config_t **_dn) in merge_it()
[all …]
Ducm_local.h266 snd_config_t *local_config;
290 int uc_mgr_config_load_into(int format, const char *file, snd_config_t *cfg);
291 int uc_mgr_config_load(int format, const char *file, snd_config_t **cfg);
292 int uc_mgr_config_load_file(snd_use_case_mgr_t *uc_mgr, const char *file, snd_config_t **cfg);
342 snd_config_t *node);
345 snd_config_t *parent, snd_config_t *new_ctx,
346 snd_config_t *before, snd_config_t *after);
349 snd_config_t *cfg);
352 snd_config_t *parent,
353 snd_config_t *inc);
[all …]
Dparser.c42 snd_config_t *cfg);
67 const char *file, snd_config_t **cfg) in uc_mgr_config_load_file()
96 int parse_string(snd_config_t *n, char **res) in parse_string()
113 snd_config_t *n, char **res) in parse_string_substitute()
132 snd_config_t *n, char **res) in parse_string_substitute3()
143 snd_config_t *n, long *res) in parse_integer_substitute()
163 snd_config_t *n, long *res) in parse_integer_substitute3()
206 int parse_get_safe_name(snd_use_case_mgr_t *uc_mgr, snd_config_t *n, in parse_get_safe_name()
232 static int error_node(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg) in error_node()
252 snd_config_t *cfg) in evaluate_regex()
[all …]
Ducm_cond.c30 static int get_string(snd_config_t *compound, const char *key, const char **str) in get_string()
32 snd_config_t *node; in get_string()
41 static int if_eval_string(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval) in if_eval_string()
138 static int if_eval_regex_match(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval) in if_eval_regex_match()
181 static int if_eval_control_exists(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval) in if_eval_control_exists()
273 static int if_eval_path(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval) in if_eval_path()
318 static int if_eval(snd_use_case_mgr_t *uc_mgr, snd_config_t *eval) in if_eval()
354 snd_config_t *cond, in if_eval_one()
355 snd_config_t **result, in if_eval_one()
356 snd_config_t **before, in if_eval_one()
[all …]
/third_party/alsa-lib/test/lsb/
Dconfig.c6 static int configs_equal(snd_config_t *c1, snd_config_t *c2);
9 static int subset_of(snd_config_t *c1, snd_config_t *c2) in subset_of()
12 snd_config_t *e1, *e2; in subset_of()
28 static int configs_equal(snd_config_t *c1, snd_config_t *c2) in configs_equal()
61 snd_config_t *top; in test_top()
78 snd_config_t *loaded, *made, *c, *c2; in test_load()
119 snd_config_t *orig, *saved; in test_save()
165 snd_config_t *top, *c; in test_search()
198 snd_config_t *top, *c; in test_searchv()
222 snd_config_t *c1, *c2, *c3, *c4, *c5; in test_add()
[all …]
/third_party/alsa-lib/src/topology/
Dtplg_local.h224 int (*parse)(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
268 int tplg_parse_compound(snd_tplg_t *tplg, snd_config_t *cfg,
269 int (*fcn)(snd_tplg_t *, snd_config_t *, void *),
274 int tplg_parse_tlv(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
275 int tplg_parse_text(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
276 int tplg_parse_data(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
277 int tplg_parse_tokens(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
278 int tplg_parse_tuples(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
279 int tplg_parse_manifest_data(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
280 int tplg_parse_control_bytes(snd_tplg_t *tplg, snd_config_t *cfg, void *priv);
[all …]
/third_party/alsa-utils/alsactl/
Dstate.c53 static int snd_config_integer_add(snd_config_t *father, char *id, long integer) in snd_config_integer_add()
56 snd_config_t *leaf; in snd_config_integer_add()
68 static int snd_config_integer64_add(snd_config_t *father, char *id, long long integer) in snd_config_integer64_add()
71 snd_config_t *leaf; in snd_config_integer64_add()
83 static int snd_config_string_add(snd_config_t *father, const char *id, const char *string) in snd_config_string_add()
86 snd_config_t *leaf; in snd_config_string_add()
98 static int snd_config_compound_add(snd_config_t *father, const char *id, int join, in snd_config_compound_add()
99 snd_config_t **node) in snd_config_compound_add()
102 snd_config_t *leaf; in snd_config_compound_add()
167 snd_config_t *comment) in add_tlv_comments()
[all …]
/third_party/alsa-lib/src/timer/
Dtimer_query.c32 const char *name, snd_config_t *timer_root, in snd_timer_query_open_conf()
33 snd_config_t *timer_conf, int mode) in snd_timer_query_open_conf()
38 snd_config_t *conf, *type_conf = NULL; in snd_timer_query_open_conf()
42 int (*open_func)(snd_timer_query_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL; in snd_timer_query_open_conf()
77 snd_config_t *n = snd_config_iterator_entry(i); in snd_timer_query_open_conf()
136 static int snd_timer_query_open_noupdate(snd_timer_query_t **timer, snd_config_t *root, const char … in snd_timer_query_open_noupdate()
139 snd_config_t *timer_conf; in snd_timer_query_open_noupdate()
162 snd_config_t *top; in snd_timer_query_open()
186 int mode, snd_config_t *lconf) in snd_timer_query_open_lconf()
/third_party/alsa-lib/src/pcm/
Dpcm_hooks.c341 static int snd_pcm_hook_add_conf(snd_pcm_t *pcm, snd_config_t *root, snd_config_t *conf) in snd_pcm_hook_add_conf()
347 snd_config_t *type = NULL, *args = NULL; in snd_pcm_hook_add_conf()
349 int (*install_func)(snd_pcm_t *pcm, snd_config_t *args) = NULL; in snd_pcm_hook_add_conf()
357 snd_config_t *n = snd_config_iterator_entry(i); in snd_pcm_hook_add_conf()
396 snd_config_t *n = snd_config_iterator_entry(i); in snd_pcm_hook_add_conf()
481 snd_config_t *root, snd_config_t *conf, in _snd_pcm_hooks_open()
487 snd_config_t *slave = NULL, *sconf; in _snd_pcm_hooks_open()
488 snd_config_t *hooks = NULL; in _snd_pcm_hooks_open()
490 snd_config_t *n = snd_config_iterator_entry(i); in _snd_pcm_hooks_open()
530 snd_config_t *n = snd_config_iterator_entry(i); in _snd_pcm_hooks_open()
[all …]
Dpcm_empty.c80 snd_config_t *root, snd_config_t *conf, in _snd_pcm_empty_open()
83 snd_config_t *slave = NULL, *sconf; in _snd_pcm_empty_open()
88 snd_config_t *n = snd_config_iterator_entry(i); in _snd_pcm_empty_open()
Dpcm_asym.c78 snd_config_t *root, snd_config_t *conf, in _snd_pcm_asym_open()
83 snd_config_t *slave = NULL, *sconf; in _snd_pcm_asym_open()
85 snd_config_t *n = snd_config_iterator_entry(i); in _snd_pcm_asym_open()
/third_party/alsa-lib/src/control/
Dcontrol_empty.c74 snd_config_t *root, snd_config_t *conf, int mode) in _snd_ctl_empty_open()
76 snd_config_t *child = NULL; in _snd_ctl_empty_open()
80 snd_config_t *n = snd_config_iterator_entry(i); in _snd_ctl_empty_open()
Dcontrol_local.h111 snd_config_t *root, snd_config_t *conf,
112 int mode, snd_config_t *parent_conf);
114 _snd_ctl_open_child(snd_ctl_t **pctl, snd_config_t *root, in _snd_ctl_open_child()
115 snd_config_t *conf, int mode, snd_config_t *parent_conf) in _snd_ctl_open_child()
/third_party/alsa-lib/src/hwdep/
Dhwdep.c40 const char *name, snd_config_t *hwdep_root, in snd_hwdep_open_conf()
41 snd_config_t *hwdep_conf, int mode) in snd_hwdep_open_conf()
46 snd_config_t *conf, *type_conf = NULL; in snd_hwdep_open_conf()
50 int (*open_func)(snd_hwdep_t **, const char *, snd_config_t *, snd_config_t *, int) = NULL; in snd_hwdep_open_conf()
85 snd_config_t *n = snd_config_iterator_entry(i); in snd_hwdep_open_conf()
145 static int snd_hwdep_open_noupdate(snd_hwdep_t **hwdep, snd_config_t *root, const char *name, int m… in snd_hwdep_open_noupdate()
148 snd_config_t *hwdep_conf; in snd_hwdep_open_noupdate()
171 snd_config_t *top; in snd_hwdep_open()
195 int mode, snd_config_t *lconf) in snd_hwdep_open_lconf()

12345