Lines Matching refs:role
78 const char *role, *trigger_role;
81 if (!(role = pa_proplist_gets(GET_PROPLIST_FROM_STREAM(stream), PA_PROP_MEDIA_ROLE)))
82 role = "no_role";
89 if (pa_streq(role, trigger_role))
95 if (pa_streq(role, trigger_role))
140 /* Find any trigger role among the sink-inputs and source-outputs. */
198 const char *role;
203 if (!(role = pa_proplist_gets(j->proplist, PA_PROP_MEDIA_ROLE)))
204 role = "no_role";
207 if ((trigger = pa_streq(role, interaction_role)))
217 /* up, act as if it was not corked. In the case of module-role-cork this will */
228 cork_or_duck(u, j, role, new_trigger, interaction_applied, g);
233 uncork_or_unduck(u, j, role, corked, g);
253 const char *role;
259 if (!(role = pa_proplist_gets(j->proplist, PA_PROP_MEDIA_ROLE)))
260 role = "no_role";
261 uncork_or_unduck(u, j, role, corked, g);
439 if (pa_streq(m->name, "module-role-ducking"))
511 pa_log("empty trigger role");
526 pa_log_debug("Using role 'phone' as trigger role.");
543 pa_log("empty ducking role");