Home
last modified time | relevance | path

Searched refs:old_profile (Results 1 – 4 of 4) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-switch-on-port-available.c482 static void update_preferred_input_port(pa_card *card, pa_card_profile *old_profile, pa_card_profil… 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 static void update_preferred_output_port(pa_card *card, pa_card_profile *old_profile, pa_card_profi… 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()
556 pa_card_profile *old_profile; in card_profile_changed_callback() local
560 old_profile = info->active_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()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-ucm.h148 …_profile(pa_alsa_ucm_config *ucm, pa_card *card, const char *new_profile, const char *old_profile);
Dalsa-ucm.c1377 …profile(pa_alsa_ucm_config *ucm, pa_card *card, const char *new_profile, const char *old_profile) { in pa_alsa_ucm_set_profile() argument
1382 if (new_profile == old_profile) in pa_alsa_ucm_set_profile()
1384 else if (new_profile == NULL || old_profile == NULL) in pa_alsa_ucm_set_profile()
1386 else if (!pa_streq(new_profile, old_profile)) in pa_alsa_ucm_set_profile()
2389 …profile(pa_alsa_ucm_config *ucm, pa_card *card, const char *new_profile, const char *old_profile) { in pa_alsa_ucm_set_profile() argument
/third_party/python/Lib/test/
Dtest_threading.py846 old_profile = threading.getprofile()
851 threading.setprofile(old_profile)