Lines Matching defs:interaction_role
155 static void cork_or_duck(struct userdata *u, pa_sink_input *i, const char *interaction_role, const char *trigger_role, bool interaction_applied, struct group *g) {
162 pa_log_debug("Found a '%s' stream of '%s' that ducks a '%s' stream.", trigger_role, g->name, interaction_role);
166 pa_log_debug("Found a '%s' stream that corks/mutes a '%s' stream.", trigger_role, interaction_role);
172 static void uncork_or_unduck(struct userdata *u, pa_sink_input *i, const char *interaction_role, bool corked, struct group *g) {
175 pa_log_debug("In '%s', found a '%s' stream that should be unducked", g->name, interaction_role);
179 pa_log_debug("Found a '%s' stream that should be uncorked/unmuted.", interaction_role);
190 const char *interaction_role;
206 PA_IDXSET_FOREACH(interaction_role, g->interaction_roles, role_idx) {
207 if ((trigger = pa_streq(role, interaction_role)))
209 if ((trigger = (pa_streq(interaction_role, "any_role") && !get_trigger_role(u, PA_OBJECT(j), g))))