Home
last modified time | relevance | path

Searched refs:ucm_context (Results 1 – 6 of 6) sorted by relevance

/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c154 pa_alsa_ucm_mapping_context *ucm_context; member
1154 if (port && !u->ucm_context) { in sync_mixer()
1538 pa_assert(u->ucm_context); in source_set_port_ucm_cb()
1549 return pa_alsa_ucm_set_port(u->ucm_context, p, false); in source_set_port_ucm_cb()
1559 pa_assert(!u->ucm_context); in source_set_port_cb()
1864 if (u->source->active_port && u->ucm_context) { in setup_mixer()
1865 if (pa_alsa_ucm_set_port(u->ucm_context, u->source->active_port, false) < 0) in setup_mixer()
1873 if (!u->ucm_context) { in setup_mixer()
2091 if (mapping && mapping->ucm_context.ucm) in pa_alsa_source_new()
2092 u->ucm_context = &mapping->ucm_context; in pa_alsa_source_new()
[all …]
Dalsa-sink.c173 pa_alsa_ucm_mapping_context *ucm_context; member
1283 if (port && !u->ucm_context) { in sync_mixer()
1667 pa_assert(u->ucm_context); in sink_set_port_ucm_cb()
1678 return pa_alsa_ucm_set_port(u->ucm_context, p, true); in sink_set_port_ucm_cb()
1688 pa_assert(!u->ucm_context); in sink_set_port_cb()
2158 if (u->sink->active_port && u->ucm_context) { in setup_mixer()
2159 if (pa_alsa_ucm_set_port(u->ucm_context, u->sink->active_port, true) < 0) in setup_mixer()
2167 if (!u->ucm_context) { in setup_mixer()
2394 if (mapping && mapping->ucm_context.ucm) in pa_alsa_sink_new()
2395 u->ucm_context = &mapping->ucm_context; in pa_alsa_sink_new()
[all …]
Dalsa-ucm.c1471 pa_idxset_put(m->ucm_context.ucm_devices, device, NULL); in alsa_mapping_add_ucm_device()
1500 pa_idxset_put(m->ucm_context.ucm_modifiers, modifier, NULL); in alsa_mapping_add_ucm_modifier()
1570 if (!m->ucm_context.ucm_devices) { /* new mapping */ in ucm_create_mapping_direction()
1571 …m->ucm_context.ucm_devices = pa_idxset_new(pa_idxset_trivial_hash_func, pa_idxset_trivial_compare_… in ucm_create_mapping_direction()
1572 m->ucm_context.ucm = ucm; in ucm_create_mapping_direction()
1573 m->ucm_context.direction = is_sink ? PA_DIRECTION_OUTPUT : PA_DIRECTION_INPUT; in ucm_create_mapping_direction()
1622 if (!m->ucm_context.ucm_devices && !m->ucm_context.ucm_modifiers) { /* new mapping */ in ucm_create_mapping_for_modifier()
1623 …m->ucm_context.ucm_devices = pa_idxset_new(pa_idxset_trivial_hash_func, pa_idxset_trivial_compare_… in ucm_create_mapping_for_modifier()
1624 …m->ucm_context.ucm_modifiers = pa_idxset_new(pa_idxset_trivial_hash_func, pa_idxset_trivial_compar… in ucm_create_mapping_for_modifier()
1625 m->ucm_context.ucm = ucm; in ucm_create_mapping_for_modifier()
[all …]
Dalsa-mixer.h322 pa_alsa_ucm_mapping_context ucm_context; member
Dmodule-alsa-card.c156 … pa_alsa_ucm_add_ports_combination(NULL, &m->ucm_context, true, ports, cp, u->core); in add_profiles()
169 … pa_alsa_ucm_add_ports_combination(NULL, &m->ucm_context, false, ports, cp, u->core); in add_profiles()
Dalsa-mixer.c3838 pa_alsa_ucm_mapping_context_free(&m->ucm_context); in mapping_free()