Lines Matching defs:selem
39 sm_selem_t selem;
77 return (struct pymelem *)((char *)snd_mixer_elem_get_private(elem) - offsetof(struct pymelem, selem));
461 return PyInt_FromLong(pymelem->selem.caps);
467 return PyString_FromString(snd_mixer_selem_id_get_name(pymelem->selem.id));
473 return PyInt_FromLong(snd_mixer_selem_id_get_index(pymelem->selem.id));
483 pymelem->selem.caps = PyInt_AsLong(val);
571 memset(&pymelem->selem, 0, sizeof(pymelem->selem));
576 pymelem->selem.id = id;
577 pymelem->selem.ops = &simple_python_ops;
579 weight, &pymelem->selem, selem_free);