]> git.alsa-project.org Git - alsa-lib.git/commitdiff
mixer: change code formatting for elem_read_volume()
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 15 Jul 2016 00:23:06 +0000 (09:23 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 15 Jul 2016 06:16:31 +0000 (08:16 +0200)
This commit applies code format according to typical and moderate rule.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/mixer/simple_none.c

index 1d2112d960db13bb5b75493f094f70802b125ed5..a90ee84cec013a050040959b89a42bf88029f617 100644 (file)
@@ -245,7 +245,9 @@ static int elem_read_volume(selem_none_t *s, int dir, selem_ctl_type_t type)
                unsigned int idx1 = idx;
                if (idx >= c->values)
                        idx1 = 0;
-               s->str[dir].vol[idx] = to_user(s, dir, c, snd_ctl_elem_value_get_integer(ctl, idx1));
+               s->str[dir].vol[idx] =
+                       to_user(s, dir, c,
+                               snd_ctl_elem_value_get_integer(ctl, idx1));
        }
        return 0;
 }