summaryrefslogtreecommitdiffstats
path: root/Alsa-afb/Alsa-SetGet.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:54:30 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:54:30 +0200
commitd0dae04c2ae6e4219e0ebac205dd05fa7e9427cf (patch)
tree80c6fc84f56afedc4fb02a097ae3e464bd792828 /Alsa-afb/Alsa-SetGet.c
parent606ccd2405a55eab4c909160c951c083bccd825d (diff)
Format: remove blank space at EOL
Change-Id: I786ac8d5be68bdf09d5bb6c883959d6e1963c1fe Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'Alsa-afb/Alsa-SetGet.c')
-rw-r--r--Alsa-afb/Alsa-SetGet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Alsa-afb/Alsa-SetGet.c b/Alsa-afb/Alsa-SetGet.c
index 04f2929..7450944 100644
--- a/Alsa-afb/Alsa-SetGet.c
+++ b/Alsa-afb/Alsa-SetGet.c
@@ -36,7 +36,7 @@ PUBLIC void NumidsListParse(ActionSetGetT action, queryValuesT *queryValues, ctl
ctlRequest[idx].used = 0;
ctlRequest[idx].valuesJ = NULL;
- // when only one NUMID is provided it might not be encapsulated in a JSON array
+ // when only one NUMID is provided it might not be encapsulated in a JSON array
if (json_type_array == json_object_get_type(queryValues->numidsJ)) ctlRequest[idx].jToken = json_object_array_get_idx(queryValues->numidsJ, idx);
else ctlRequest[idx].jToken = queryValues->numidsJ;
@@ -438,7 +438,7 @@ PUBLIC int alsaSetSingleCtl(snd_ctl_t *ctlDev, snd_ctl_elem_id_t *elemId, ctlReq
snd_ctl_elem_info_t *elemInfo;
int count, length, err, valueIsArray = 0;
- // let's make sure we are processing the right control
+ // let's make sure we are processing the right control
if (ctlRequest->numId != snd_ctl_elem_id_get_numid(elemId)) goto OnErrorExit;
// set info event ID and get value
@@ -720,7 +720,7 @@ STATIC void alsaSetGetCtls(ActionSetGetT action, afb_req request) {
int jdx;
if (queryValues.count == 0 && action == ACTION_GET) {
- selected = 1; // check is this numid is selected within query
+ selected = 1; // check is this numid is selected within query
jdx = ctlIndex; // map all existing ctl as requested
} else {
int numid = snd_ctl_elem_list_get_numid(ctlList, ctlIndex);
@@ -737,7 +737,7 @@ STATIC void alsaSetGetCtls(ActionSetGetT action, afb_req request) {
}
}
- // control is selected open ctlid and get value
+ // control is selected open ctlid and get value
if (selected) {
snd_ctl_elem_id_t *elemId;
snd_ctl_elem_id_alloca(&elemId);