[PATCH 2/9] role-cork: React to mute/cork of trigger streams and to proplist changes

[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 const char *is_trigger_stream(struct userdata *u, pa_sink_input *i) {

I'd expect a function named "is_foo" to return a boolean value. It
looks confusing to me to have assignments like "role =
is_trigger_stream()". If the function returns some additional
information, I think it would be better to do that with a return
parameter. I can make a separate patch for this, though, so I'll push
this patch as is.

-- 
Tanu


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

  Powered by Linux