/third_party/alsa-lib/modules/mixer/simple/python/ |
H A D | common.py | 71 def attachVolume(self, helem, dir): 72 self.volume[dir] = helem 73 self.volumeinfo[dir] = HInfo(helem) 76 self.volumearray[dir] = HValue(helem).getArray(self.volumeinfo[dir].type, self.volumeinfo[dir].count) 78 def attachSwitch(self, helem, dir): 79 self.switch[dir] = helem 80 self.switchinfo[dir] = HInfo(helem) 81 self.switcharray[dir] = HValue(helem).getArray(self.switchinfo[dir].type, self.switchinfo[dir].count) 83 def attach(self, helem): 84 BaseElement.attach(self, helem) [all...] |
H A D | hda.py | 39 def event(evmask, helem, melem): 40 return eventHandler(evmask, helem, melem)
|
/third_party/alsa-lib/modules/mixer/simple/ |
H A D | sbase.c | 79 struct helem_base *helem; in update_ranges() local 86 helem = list_entry(pos, struct helem_base, list); in update_ranges() 87 printf("min = %li, max = %li\n", helem->min, helem->max); in update_ranges() 88 if (helem->caps & mask[dir]) { in update_ranges() 89 s->dir[dir].min = helem->min; in update_ranges() 90 s->dir[dir].max = helem->max; in update_ranges() 98 helem = list_entry(pos, struct helem_base, list); in update_ranges() 99 if (helem->caps & gmask[dir]) { in update_ranges() 100 s->dir[dir].min = helem in update_ranges() 120 struct helem_base *helem; is_ops() local 138 struct helem_base *helem; is_ops() local 144 struct helem_base *helem; is_ops() local 294 simple_event_remove(snd_hctl_elem_t *helem, snd_mixer_elem_t *melem ATTRIBUTE_UNUSED) simple_event_remove() argument 316 simple_event_add1(snd_mixer_class_t *class, snd_hctl_elem_t *helem, struct helem_selector *sel) simple_event_add1() argument 454 simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem) simple_event_add() argument 480 alsa_mixer_sbasic_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) alsa_mixer_sbasic_event() argument [all...] |
H A D | python.c | 57 void **helem; member 579 snd_hctl_elem_t *helem; in pymelem_attach() local 584 helem = (snd_hctl_elem_t *)get_C_ptr(obj, "get_C_helem"); in pymelem_attach() 585 if (helem == NULL) in pymelem_attach() 587 err = snd_mixer_elem_attach(pymelem->melem, helem); in pymelem_attach() 599 snd_hctl_elem_t *helem; in pymelem_detach() local 604 helem = (snd_hctl_elem_t *)get_C_ptr(obj, "get_C_helem"); in pymelem_detach() 605 if (helem == NULL) in pymelem_detach() 607 err = snd_mixer_elem_detach(pymelem->melem, helem); in pymelem_detach() 835 pymixer->helem in pymixer_init() 905 new_helem(struct python_priv *priv, snd_hctl_elem_t *helem) new_helem() argument 953 find_helem(struct python_priv *priv, snd_hctl_elem_t *helem) find_helem() argument 977 alsa_mixer_simple_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) alsa_mixer_simple_event() argument [all...] |
H A D | sbase.h | 58 snd_hctl_elem_t *helem; member 92 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem);
|
H A D | ac97.c | 68 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event() 71 return priv->ops.event(class, mask, helem, melem); in alsa_mixer_simple_event() 67 alsa_mixer_simple_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) alsa_mixer_simple_event() argument
|
H A D | hda.c | 69 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event() 72 return priv->ops.event(class, mask, helem, melem); in alsa_mixer_simple_event() 68 alsa_mixer_simple_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) alsa_mixer_simple_event() argument
|
/third_party/alsa-lib/src/mixer/ |
H A D | simple_none.c | 1328 snd_hctl_elem_t *helem; in enum_item_name_ops() local 1332 helem = s->ctls[type].elem; in enum_item_name_ops() 1333 if (!helem) { in enum_item_name_ops() 1335 helem = s->ctls[type].elem; in enum_item_name_ops() 1337 if (!helem) { in enum_item_name_ops() 1339 helem = s->ctls[type].elem; in enum_item_name_ops() 1341 assert(helem); in enum_item_name_ops() 1344 snd_hctl_elem_info(helem, &info); in enum_item_name_ops() 1346 snd_hctl_elem_info(helem, &info); in enum_item_name_ops() 1357 snd_hctl_elem_t *helem; in get_enum_item_ops() local 1378 snd_hctl_elem_t *helem; set_enum_item_ops() local 1425 simple_add1(snd_mixer_class_t *class, const char *name, snd_hctl_elem_t *helem, selem_ctl_type_t type, unsigned int value) simple_add1() argument 1616 simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem) simple_event_add() argument 1659 simple_event_remove(snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) simple_event_remove() argument 1680 simple_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) simple_event() argument [all...] |
H A D | mixer.c | 86 * \param helem HCTL element 97 snd_hctl_elem_t *helem) in snd_mixer_elem_attach() 99 bag_t *bag = snd_hctl_elem_get_callback_private(helem); in snd_mixer_elem_attach() 104 return bag_add(&melem->helems, helem); in snd_mixer_elem_attach() 110 * \param helem HCTL element 120 snd_hctl_elem_t *helem) in snd_mixer_elem_detach() 122 bag_t *bag = snd_hctl_elem_get_callback_private(helem); in snd_mixer_elem_detach() 126 err = bag_del(&melem->helems, helem); in snd_mixer_elem_detach() 143 static int hctl_elem_event_handler(snd_hctl_elem_t *helem, in hctl_elem_event_handler() argument 146 bag_t *bag = snd_hctl_elem_get_callback_private(helem); in hctl_elem_event_handler() 96 snd_mixer_elem_attach(snd_mixer_elem_t *melem, snd_hctl_elem_t *helem) snd_mixer_elem_attach() argument 119 snd_mixer_elem_detach(snd_mixer_elem_t *melem, snd_hctl_elem_t *helem) snd_mixer_elem_detach() argument 467 snd_hctl_elem_t *helem = bag_iterator_entry(i); snd_mixer_elem_remove() local [all...] |
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | check_html_xrefs.py | 38 helem = parent.find('./h{}'.format(level+1)) 39 if helem is not None: 40 return [ helem.get('id'), ''.join(helem.itertext()) ]
|
/third_party/alsa-lib/include/ |
H A D | mixer.h | 81 * \param helem HCTL element which invoked the event 86 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/pulseaudio/src/modules/alsa/ |
H A D | alsa-util.c | 1621 snd_hctl_elem_t *helem; in pa_alsa_mixer_find() local 1624 helem = snd_mixer_elem_get_private(elem); in pa_alsa_mixer_find() 1625 if (snd_hctl_elem_get_interface(helem) != iface) in pa_alsa_mixer_find() 1627 if (!pa_streq(snd_hctl_elem_get_name(helem), name)) in pa_alsa_mixer_find() 1629 if (snd_hctl_elem_get_index(helem) != index) in pa_alsa_mixer_find() 1631 if (snd_hctl_elem_get_device(helem) != device) in pa_alsa_mixer_find() 1653 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in mixer_class_event() 1656 const char *name = snd_hctl_elem_get_name(helem); in mixer_class_event() 1658 snd_ctl_elem_iface_t iface = snd_hctl_elem_get_interface(helem); in mixer_class_event() 1663 if ((err = snd_mixer_elem_new(&new_melem, SND_MIXER_ELEM_PULSEAUDIO, 0, helem, NUL in mixer_class_event() 1652 mixer_class_event(snd_mixer_class_t *class, unsigned int mask, snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) mixer_class_event() argument [all...] |