Lines Matching defs:revert_to_a2dp
144 static void card_set_profile(struct userdata *u, pa_card *card, bool revert_to_a2dp)
154 /* Check for correct profile based on revert_to_a2dp */
155 if (revert_to_a2dp) {
170 /* When we are not in revert_to_a2dp phase flag this card for will_need_revert */
171 if (!revert_to_a2dp)
179 static void switch_profile(pa_card *card, bool revert_to_a2dp, void *userdata) {
188 if (revert_to_a2dp) {
189 /* In revert_to_a2dp phase only consider cards with will_need_revert flag and remove it */
210 card_set_profile(u, card, revert_to_a2dp);
256 static void switch_profile_all(pa_idxset *cards, bool revert_to_a2dp, void *userdata) {
261 switch_profile(card, revert_to_a2dp, userdata);