Home
last modified time | relevance | path

Searched refs:melem (Results 1 – 14 of 14) sorted by relevance

/third_party/alsa-lib/src/mixer/
Dmixer.c91 int snd_mixer_elem_attach(snd_mixer_elem_t *melem, in snd_mixer_elem_attach() argument
96 err = bag_add(bag, melem); in snd_mixer_elem_attach()
99 return bag_add(&melem->helems, helem); in snd_mixer_elem_attach()
110 int snd_mixer_elem_detach(snd_mixer_elem_t *melem, in snd_mixer_elem_detach() argument
115 err = bag_del(bag, melem); in snd_mixer_elem_detach()
117 err = bag_del(&melem->helems, helem); in snd_mixer_elem_detach()
129 int snd_mixer_elem_empty(snd_mixer_elem_t *melem) in snd_mixer_elem_empty() argument
131 return bag_empty(&melem->helems); in snd_mixer_elem_empty()
143 snd_mixer_elem_t *melem = bag_iterator_entry(i); in hctl_elem_event_handler() local
144 snd_mixer_class_t *class = melem->class; in hctl_elem_event_handler()
[all …]
Dsimple_none.c672 static int simple_update(snd_mixer_elem_t *melem) in simple_update() argument
686 assert(snd_mixer_elem_get_type(melem) == SND_MIXER_ELEM_SIMPLE); in simple_update()
687 simple = snd_mixer_elem_get_private(melem); in simple_update()
1429 snd_mixer_elem_t *melem; in simple_add1() local
1530 melem = snd_mixer_find_selem(snd_mixer_class_get_mixer(class), id); in simple_add1()
1531 if (!melem) { in simple_add1()
1539 err = snd_mixer_elem_new(&melem, SND_MIXER_ELEM_SIMPLE, in simple_add1()
1551 simple = snd_mixer_elem_get_private(melem); in simple_add1()
1589 err = snd_mixer_elem_attach(melem, helem); in simple_add1()
1592 err = simple_update(melem); in simple_add1()
[all …]
/third_party/alsa-lib/modules/mixer/simple/
Dsbase.c295 snd_mixer_elem_t *melem ATTRIBUTE_UNUSED) in simple_event_remove()
321 snd_mixer_elem_t *melem; in simple_event_add1() local
393 melem = snd_mixer_find_selem(snd_mixer_class_get_mixer(class), id); in simple_event_add1()
394 if (!melem) { in simple_event_add1()
405 err = snd_mixer_elem_new(&melem, SND_MIXER_ELEM_SIMPLE, in simple_event_add1()
416 simple = snd_mixer_elem_get_private(melem); in simple_event_add1()
421 err = snd_mixer_elem_attach(melem, helem); in simple_event_add1()
429 err = simple_update(melem); in simple_event_add1()
437 err = snd_mixer_elem_add(melem, class); in simple_event_add1()
439 err = snd_mixer_elem_info(melem); in simple_event_add1()
[all …]
Dpython.c46 snd_mixer_elem_t *melem; member
59 void **melem; member
587 err = snd_mixer_elem_attach(pymelem->melem, helem); in pymelem_attach()
607 err = snd_mixer_elem_detach(pymelem->melem, helem); in pymelem_detach()
620 return PyInt_FromLong(snd_mixer_elem_info(pymelem->melem)); in pymelem_event_info()
628 return PyInt_FromLong(snd_mixer_elem_value(pymelem->melem)); in pymelem_event_value()
648 err = snd_mixer_elem_new(&pymelem->melem, SND_MIXER_ELEM_SIMPLE, in pymelem_init()
660 selem_free(self->melem); in pymelem_dealloc()
787 void **melems = realloc(pymixer->melem, sizeof(void *) * (pymixer->melem_count + 1) * 2); in pymixer_melement_new()
792 melems[pymixer->melem_count*2] = pymelem->melem; in pymixer_melement_new()
[all …]
Dhda.c69 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event() argument
72 return priv->ops.event(class, mask, helem, melem); in alsa_mixer_simple_event()
Dac97.c68 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in alsa_mixer_simple_event() argument
71 return priv->ops.event(class, mask, helem, melem); in alsa_mixer_simple_event()
Dsbase.h92 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem);
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c363 static int report_jack_state(snd_mixer_elem_t *melem, unsigned int mask) { in report_jack_state() argument
364 struct userdata *u = snd_mixer_elem_get_callback_private(melem); in report_jack_state()
365 snd_hctl_elem_t *elem = snd_mixer_elem_get_private(melem); in report_jack_state()
407 if (jack->melem == melem) { in report_jack_state()
537 static int hdmi_eld_changed(snd_mixer_elem_t *melem, unsigned int mask) { in hdmi_eld_changed() argument
538 struct userdata *u = snd_mixer_elem_get_callback_private(melem); in hdmi_eld_changed()
539 snd_hctl_elem_t *elem = snd_mixer_elem_get_private(melem); in hdmi_eld_changed()
582 snd_mixer_elem_t* melem; in init_eld_ctls() local
607 melem = pa_alsa_mixer_find_pcm(mixer_handle, "ELD", device); in init_eld_ctls()
608 if (melem) { in init_eld_ctls()
[all …]
Dalsa-mixer.h188 snd_mixer_elem_t *melem; /* Jack detection handle */ member
Dalsa-util.c1653 snd_hctl_elem_t *helem, snd_mixer_elem_t *melem) in mixer_class_event() argument
1670 snd_mixer_elem_free(melem); in mixer_class_event()
1681 snd_mixer_elem_value(melem); /* Calls the element callback */ in mixer_class_event()
/third_party/alsa-lib/modules/mixer/simple/python/
Dhda.py39 def event(evmask, helem, melem): argument
40 return eventHandler(evmask, helem, melem)
Dcommon.py211 def eventHandler(evmask, helem, melem): argument
217 melem.update(helem)
/third_party/alsa-lib/include/
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);
139 int snd_mixer_elem_empty(snd_mixer_elem_t *melem);
140 void *snd_mixer_elem_get_private(const snd_mixer_elem_t *melem);
/third_party/glib/po/
Dhu.po404 msgstr "A(z) „%s” címelem nem tartalmaz kettőspontot (:)"