Home
last modified time | relevance | path

Searched refs:preferred_profile (Results 1 - 4 of 4) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
H A Ddevice-port.c87 if (!pa_safe_streq(p->preferred_profile, new_pp)) { in pa_device_port_set_preferred_profile()
88 pa_xfree(p->preferred_profile); in pa_device_port_set_preferred_profile()
89 p->preferred_profile = pa_xstrdup(new_pp); in pa_device_port_set_preferred_profile()
171 pa_xfree(p->preferred_profile); in device_port_free()
H A Ddevice-port.h45 char *preferred_profile; member
/third_party/pulseaudio/src/modules/
H A Dmodule-card-restore.c129 if (port->preferred_profile) in port_info_new()
130 p_info->profile = pa_xstrdup(port->preferred_profile); in port_info_new()
445 if (!pa_safe_streq(p_info->profile, p->preferred_profile)) { in update_profile_for_port()
447 p_info->profile = pa_xstrdup(p->preferred_profile); in update_profile_for_port()
556 if (!p->preferred_profile && p_info->profile) in card_new_hook_callback()
H A Dmodule-switch-on-port-available.c146 port->name, pa_strnull(port->preferred_profile)); in try_to_switch_profile()
170 if (pa_safe_streq(name ? name : profile->name, port->preferred_profile)) in try_to_switch_profile()
234 pp.is_preferred_profile_active = pp.is_possible_profile_active && (!port->preferred_profile || in find_port_pointers()
235 pa_safe_streq(port->preferred_profile, profile_name_for_dir(card->active_profile, port->direction))); in find_port_pointers()

Completed in 4 milliseconds