Lines Matching refs:alsa_id
165 jack->alsa_id.name = pa_sprintf_malloc("%s Jack", name); in pa_alsa_jack_new()
166 jack->alsa_id.index = index; in pa_alsa_jack_new()
181 pa_xfree(jack->alsa_id.name); in pa_alsa_jack_free()
749 pa_xfree(e->alsa_id.name); in element_free()
837 SELEM_INIT(sid, &e->alsa_id); in element_get_volume()
839 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_get_volume()
865 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_get_volume()
872 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_get_volume()
895 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_get_volume()
902 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_get_volume()
1008 SELEM_INIT(sid, &e->alsa_id); in element_get_switch()
1010 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_get_switch()
1174 SELEM_INIT(sid, &e->alsa_id); in element_set_volume()
1176 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_volume()
1366 SELEM_INIT(sid, &e->alsa_id); in element_set_switch()
1368 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_switch()
1379 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_switch()
1421 SELEM_INIT(sid, &e->alsa_id); in element_set_constant_volume()
1423 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_constant_volume()
1468 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_constant_volume()
1674 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1680 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1686 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1694 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1721 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1727 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1733 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1756 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1768 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1813 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1828 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_probe_volume()
1879 SELEM_INIT(sid, &e->alsa_id); in element_probe()
1977 pa_xfree(j->alsa_id.name); in jack_probe()
1978 j->alsa_id.name = new_name; in jack_probe()
1982 has_control = pa_alsa_mixer_find_card(m, &j->alsa_id, 0) != NULL; in jack_probe()
2021 if (p->last_element && pa_streq(p->last_element->alsa_id.name, name) && in pa_alsa_element_get()
2022 p->last_element->alsa_id.index == index) in pa_alsa_element_get()
2026 if (pa_streq(e->alsa_id.name, name) && e->alsa_id.index == index) in pa_alsa_element_get()
2031 e->alsa_id.name = pa_xstrdup(name); in pa_alsa_element_get()
2032 e->alsa_id.index = index; in pa_alsa_element_get()
2057 p->last_jack->alsa_id.index == index) in jack_get()
2061 if (pa_streq(j->name, name) && j->alsa_id.index == index) in jack_get()
2101 pa_streq(p->last_option->element->alsa_id.name, name) && in option_get()
2102 p->last_option->element->alsa_id.index == index && in option_get()
2654 SELEM_INIT(sid, &e->alsa_id); in element_set_option()
2656 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_option()
2669 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_option()
2677 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_option()
2734 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &o->element->alsa_id); in option_verify()
2742 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &o->element->alsa_id); in option_verify()
2768 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_verify()
2774 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_verify()
2958 e->alsa_id.name = pa_xstrdup(name); in pa_alsa_path_synthesize()
2959 e->alsa_id.index = index; in pa_alsa_path_synthesize()
3125 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &j->alsa_id); in pa_alsa_path_probe()
3135 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in pa_alsa_path_probe()
3244 …Jack %s, alsa_name='%s', index='%d', detection %s", j->name, j->alsa_id.name, j->alsa_id.index, j-… in pa_alsa_jack_dump()
3264 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in pa_alsa_element_dump()
3322 SELEM_INIT(sid, &e->alsa_id); in element_set_callback()
3324 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &e->alsa_id); in element_set_callback()
3482 e->alsa_id.name = pa_xstrdup(name); in pa_alsa_path_set_new()
3483 e->alsa_id.index = index; in pa_alsa_path_set_new()
3504 … if (e->volume_use != PA_ALSA_VOLUME_IGNORE && pa_streq(db_fix->name, e->alsa_id.name) && in pa_alsa_path_set_new()
3505 db_fix->index == e->alsa_id.index) { in pa_alsa_path_set_new()
3617 SELEM_INIT(sid, &a->alsa_id); in element_is_subset()
3619 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &a->alsa_id); in element_is_subset()
3650 pa_alsa_mixer_id_to_string(buf, sizeof(buf), &a->alsa_id); in element_is_subset()
3727 if (jb->has_control && pa_streq(ja->alsa_id.name, jb->alsa_id.name) && in path_set_condense()
3728 (ja->alsa_id.index == jb->alsa_id.index) && in path_set_condense()
3750 if (pa_streq(ea->alsa_id.name, eb->alsa_id.name) && in path_set_condense()
3751 ea->alsa_id.index == eb->alsa_id.index) { in path_set_condense()
3930 static pa_alsa_decibel_fix *decibel_fix_get(pa_alsa_profile_set *ps, const char *alsa_id) { in decibel_fix_get() argument
3935 if (!pa_startswith(alsa_id, "DecibelFix ")) in decibel_fix_get()
3938 alsa_id += 11; in decibel_fix_get()
3940 if ((db_fix = pa_hashmap_get(ps->decibel_fixes, alsa_id))) in decibel_fix_get()
3943 name = alloca(strlen(alsa_id) + 1); in decibel_fix_get()
3944 if (alsa_id_decode(alsa_id, name, &index)) in decibel_fix_get()
3951 db_fix->key = pa_xstrdup(alsa_id); in decibel_fix_get()
4418 if (pa_streq(j->alsa_id.name, j2->alsa_id.name) && in profile_set_set_availability_groups()
4419 j->alsa_id.index == j2->alsa_id.index) { in profile_set_set_availability_groups()