Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/
H A Dmodule-switch-on-port-available.c482 static void update_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->output_name)) { in update_preferred_input_port()
518 static void update_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->input_name)) { 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_profil in card_profile_changed_callback()
[all...]
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-ucm.h148 int pa_alsa_ucm_set_profile(pa_alsa_ucm_config *ucm, pa_card *card, const char *new_profile, const char *old_profile);
H A Dalsa-ucm.c1377 int pa_alsa_ucm_set_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 int pa_alsa_ucm_set_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/
H A Dtest_threading.py874 old_profile = threading.getprofile()
879 threading.setprofile(old_profile)

Completed in 8 milliseconds