Home
last modified time | relevance | path

Searched refs:snd_hctl_elem_t (Results 1 – 17 of 17) sorted by relevance

/third_party/alsa-lib/src/control/
Dhcontrol.c60 static int snd_hctl_compare_default(const snd_hctl_elem_t *c1,
61 const snd_hctl_elem_t *c2);
202 snd_hctl_elem_t *elem) in snd_hctl_throw_event()
209 static int snd_hctl_elem_throw_event(snd_hctl_elem_t *elem, in snd_hctl_elem_throw_event()
323 snd_hctl_elem_t el; in _snd_hctl_find_elem()
346 static int snd_hctl_elem_add(snd_hctl_t *hctl, snd_hctl_elem_t *elem) in snd_hctl_elem_add()
352 snd_hctl_elem_t **h; in snd_hctl_elem_add()
375 (hctl->count - idx) * sizeof(snd_hctl_elem_t *)); in snd_hctl_elem_add()
384 snd_hctl_elem_t *elem = hctl->pelems[idx]; in snd_hctl_elem_remove()
394 m * sizeof(snd_hctl_elem_t *)); in snd_hctl_elem_remove()
[all …]
Dcontrol_local.h86 snd_hctl_elem_t **pelems;
/third_party/alsa-lib/include/
Dcontrol.h696 typedef struct _snd_hctl_elem snd_hctl_elem_t; typedef
707 typedef int (*snd_hctl_compare_t)(const snd_hctl_elem_t *e1,
708 const snd_hctl_elem_t *e2);
709 int snd_hctl_compare_fast(const snd_hctl_elem_t *c1,
710 const snd_hctl_elem_t *c2);
720 snd_hctl_elem_t *elem);
727 typedef int (*snd_hctl_elem_callback_t)(snd_hctl_elem_t *elem,
740 snd_hctl_elem_t *snd_hctl_first_elem(snd_hctl_t *hctl);
741 snd_hctl_elem_t *snd_hctl_last_elem(snd_hctl_t *hctl);
742 snd_hctl_elem_t *snd_hctl_find_elem(snd_hctl_t *hctl, const snd_ctl_elem_id_t *id);
[all …]
Dmixer.h86 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem);
137 int snd_mixer_elem_attach(snd_mixer_elem_t *melem, snd_hctl_elem_t *helem);
138 int snd_mixer_elem_detach(snd_mixer_elem_t *melem, snd_hctl_elem_t *helem);
/third_party/alsa-lib/modules/mixer/simple/
Dsbase.h58 snd_hctl_elem_t *helem;
92 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem);
Dsbase.c294 static int simple_event_remove(snd_hctl_elem_t *helem, in simple_event_remove()
317 snd_hctl_elem_t *helem, in simple_event_add1()
454 static int simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem) in simple_event_add()
481 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_sbasic_event()
Dpython.c579 snd_hctl_elem_t *helem; in pymelem_attach()
584 helem = (snd_hctl_elem_t *)get_C_ptr(obj, "get_C_helem"); in pymelem_attach()
599 snd_hctl_elem_t *helem; in pymelem_detach()
604 helem = (snd_hctl_elem_t *)get_C_ptr(obj, "get_C_helem"); in pymelem_detach()
905 static PyObject *new_helem(struct python_priv *priv, snd_hctl_elem_t *helem) in new_helem()
953 static PyObject *find_helem(struct python_priv *priv, snd_hctl_elem_t *helem) in find_helem()
978 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event()
Dac97.c68 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event()
Dhda.c69 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event()
/third_party/alsa-lib/src/mixer/
Dsimple_none.c70 snd_hctl_elem_t *elem;
1097 static int init_db_range(snd_hctl_elem_t *ctl, struct selem_str *rec);
1099 static int convert_to_dB(snd_hctl_elem_t *ctl, struct selem_str *rec, in convert_to_dB()
1110 static int init_db_range(snd_hctl_elem_t *ctl, struct selem_str *rec) in init_db_range()
1169 static int get_dB_range(snd_hctl_elem_t *ctl, struct selem_str *rec, in get_dB_range()
1192 static int convert_from_dB(snd_hctl_elem_t *ctl, struct selem_str *rec, in convert_from_dB()
1328 snd_hctl_elem_t *helem; in enum_item_name_ops()
1357 snd_hctl_elem_t *helem; in get_enum_item_ops()
1378 snd_hctl_elem_t *helem; in set_enum_item_ops()
1426 snd_hctl_elem_t *helem, selem_ctl_type_t type, in simple_add1()
[all …]
Dmixer.c92 snd_hctl_elem_t *helem) in snd_mixer_elem_attach()
111 snd_hctl_elem_t *helem) in snd_mixer_elem_detach()
134 static int hctl_elem_event_handler(snd_hctl_elem_t *helem, in hctl_elem_event_handler()
168 snd_hctl_elem_t *elem) in hctl_event_handler()
455 snd_hctl_elem_t *helem = bag_iterator_entry(i); in snd_mixer_elem_remove()
526 snd_hctl_elem_t *elem; in snd_mixer_class_register()
/third_party/alsa-utils/amixer/
Damixer.c599 static int show_control(const char *space, snd_hctl_elem_t *elem, in show_control()
722 snd_hctl_elem_t *elem; in controls()
1207 snd_hctl_elem_t *elem; in cset()
1522 static void events_info(snd_hctl_elem_t *helem) in events_info()
1532 static void events_value(snd_hctl_elem_t *helem) in events_value()
1542 static void events_remove(snd_hctl_elem_t *helem) in events_remove()
1552 static int element_callback(snd_hctl_elem_t *elem, unsigned int mask) in element_callback()
1565 static void events_add(snd_hctl_elem_t *helem) in events_add()
1577 snd_hctl_elem_t *elem) in ctl_callback()
1587 snd_hctl_elem_t *helem; in events()
/third_party/alsa-lib/src/alisp/
Dalisp_snd.c547 snd_hctl_elem_t *handle; in FA_hctl_elem_info()
557 handle = (snd_hctl_elem_t *)get_ptr(instance, p1, item->prefix); in FA_hctl_elem_info()
625 snd_hctl_elem_t *handle; in FA_hctl_elem_read()
636 handle = (snd_hctl_elem_t *)get_ptr(instance, p1, item->prefix); in FA_hctl_elem_read()
687 snd_hctl_elem_t *handle; in FA_hctl_elem_write()
700 handle = (snd_hctl_elem_t *)get_ptr(instance, obj, item->prefix); in FA_hctl_elem_write()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-util.h165 int pa_alsa_get_hdmi_eld(snd_hctl_elem_t *elem, pa_hdmi_eld *eld);
Dalsa-util.c1621 snd_hctl_elem_t *helem; in pa_alsa_mixer_find()
1653 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in mixer_class_event()
1866 int pa_alsa_get_hdmi_eld(snd_hctl_elem_t *elem, pa_hdmi_eld *eld) { in pa_alsa_get_hdmi_eld()
Dmodule-alsa-card.c374 snd_hctl_elem_t *elem = snd_mixer_elem_get_private(melem); in report_jack_state()
566 snd_hctl_elem_t *elem = snd_mixer_elem_get_private(melem); in hdmi_eld_changed()
/third_party/alsa-utils/alsactl/
Dinit_parse.c243 snd_hctl_elem_t *elem; in check_id_changed()
345 snd_hctl_elem_t *elem; in set_ctl_value()
672 snd_hctl_elem_t *elem; in elemid_get()
693 snd_hctl_elem_t *elem; in elemid_get()
724 snd_hctl_elem_t *elem; in elemid_get()