Lines Matching refs:new_profile
482 …e_preferred_input_port(pa_card *card, pa_card_profile *old_profile, pa_card_profile *new_profile) { in update_preferred_input_port() argument
487 if (pa_safe_streq(old_profile->input_name, new_profile->input_name)) in update_preferred_input_port()
503 …if (pa_idxset_size(card->sinks) > 0 && !pa_safe_streq(old_profile->output_name, new_profile->outpu… in update_preferred_input_port()
518 …_preferred_output_port(pa_card *card, pa_card_profile *old_profile, pa_card_profile *new_profile) { in update_preferred_output_port() argument
523 if (pa_safe_streq(old_profile->output_name, new_profile->output_name)) in update_preferred_output_port()
539 …if (pa_idxset_size(card->sources) > 0 && !pa_safe_streq(old_profile->input_name, new_profile->inpu… in update_preferred_output_port()
557 pa_card_profile *new_profile; in card_profile_changed_callback() local
561 new_profile = card->active_profile; in card_profile_changed_callback()
562 info->active_profile = new_profile; in card_profile_changed_callback()
569 update_preferred_input_port(card, old_profile, new_profile); in card_profile_changed_callback()
570 update_preferred_output_port(card, old_profile, new_profile); in card_profile_changed_callback()