Lines Matching refs:name
97 args = pa_sprintf_malloc("source=\"%s\" source_dont_move=\"true\" sink_input_properties=\"media.role=%s\"", source->name,
136 args = pa_sprintf_malloc("sink=\"%s\" sink_dont_move=\"true\" source_output_properties=\"media.role=%s\"", sink->name,
156 if (!pa_streq(profile->name, "a2dp_sink"))
159 if (!pa_streq(profile->name, "headset_head_unit") && !pa_streq(profile->name, "handsfree_head_unit"))
163 pa_log_debug("Setting card '%s' to profile '%s'", card->name, profile->name);
166 pa_log_warn("Could not set profile '%s'", profile->name);
194 if (!pa_streq(card->active_profile->name, "headset_head_unit") && !pa_streq(card->active_profile->name, "handsfree_head_unit"))
198 if (pa_streq(card->active_profile->name, "a2dp_sink"))
202 if (!pa_streq(card->active_profile->name, "a2dp_sink"))
206 if (pa_streq(card->active_profile->name, "headset_head_unit") || pa_streq(card->active_profile->name, "handsfree_head_unit"))
309 !pa_streq(card->active_profile->name, "a2dp_sink"))
361 if (pa_streq(profile->name, "a2dp_sink") ||
362 pa_streq(profile->name, "headset_head_unit") ||
363 pa_streq(profile->name, "handsfree_head_unit"))
386 pa_log_debug("Setting card '%s' to profile '%s'", card->name, selected_profile->name);
389 pa_log_warn("Could not set profile '%s'", selected_profile->name);