[alsa-devel] [PATCH 28/29] mixer: change code formatting for simple_event_add()
Takashi Sakamoto
o-takashi at sakamocchi.jp
Fri Jul 15 02:23:32 CEST 2016
This commit applies code format according to typical and moderate rule.
Signed-off-by: Takashi Sakamoto <o-takashi at sakamocchi.jp>
---
src/mixer/simple_none.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mixer/simple_none.c b/src/mixer/simple_none.c
index 68ab37e..9b0705c 100644
--- a/src/mixer/simple_none.c
+++ b/src/mixer/simple_none.c
@@ -1616,7 +1616,8 @@ static int simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem)
snd_ctl_elem_info_alloca(&info);
err = snd_hctl_elem_info(helem, info);
assert(err >= 0);
- if (snd_ctl_elem_info_get_type(info) != SND_CTL_ELEM_TYPE_ENUMERATED)
+ if (snd_ctl_elem_info_get_type(info) !=
+ SND_CTL_ELEM_TYPE_ENUMERATED)
return 0;
items = snd_ctl_elem_info_get_items(info);
for (k = 0; k < items; ++k) {
@@ -1626,7 +1627,8 @@ static int simple_event_add(snd_mixer_class_t *class, snd_hctl_elem_t *helem)
if (err < 0)
return err;
n = snd_ctl_elem_info_get_item_name(info);
- err = simple_add1(class, n, helem, CTL_CAPTURE_SOURCE, k);
+ err = simple_add1(class, n, helem, CTL_CAPTURE_SOURCE,
+ k);
if (err < 0)
return err;
}
--
2.7.4
More information about the Alsa-devel
mailing list