Searched refs:old_profile (Results 1 – 4 of 4) sorted by relevance
/third_party/pulseaudio/src/modules/ |
D | module-switch-on-port-available.c | 482 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/ |
D | alsa-ucm.h | 148 …_profile(pa_alsa_ucm_config *ucm, pa_card *card, const char *new_profile, const char *old_profile);
|
D | alsa-ucm.c | 1377 …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/ |
D | test_threading.py | 846 old_profile = threading.getprofile() 851 threading.setprofile(old_profile)
|