[pulseaudio-discuss] [PATCH 4/9] role-cork: remove corking on module exit

Tanu Kaskinen tanuk at iki.fi
Sun Mar 13 10:34:43 UTC 2016


On Thu, 2015-03-26 at 21:54 +0100, Georg Chini wrote:
> +static void remove_cork(struct userdata *u) {
> +    uint32_t idx, idx_input;
> +    pa_sink *s;
> +    pa_sink_input *j;
> +    bool corked;
> +    const char *role;
> +
> +    PA_IDXSET_FOREACH(s, u->core->sinks, idx) {
> +
> +      for (j = PA_SINK_INPUT(pa_idxset_first(s->inputs, &idx_input)); j; j = PA_SINK_INPUT(pa_idxset_next(s->inputs, &idx_input))) {

I replaced this with PA_IDXSET_FOREACH. I also fixed the indentation
issues in this patch, and pushed it to master.

-- 
Tanu


More information about the pulseaudio-discuss mailing list