summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2016-07-15 09:23:06 +0900
committerTakashi Iwai <tiwai@suse.de>2016-07-15 08:16:31 +0200
commitbc08a11edafc6e261452d53110c9d7036991bde1 (patch)
tree4969a07f3e778a2044a4367bacf78b82ec7eb78e
parent9e1c73cdd471987220e2e731517222292f4c3fac (diff)
downloadalsa-lib-bc08a11edafc6e261452d53110c9d7036991bde1.tar.gz
mixer: change code formatting for elem_read_volume()
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>
-rw-r--r--src/mixer/simple_none.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 1d2112d9..a90ee84c 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -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;
}