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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux