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
_______________________________________________
pulseaudio-discuss mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to