aboutsummaryrefslogtreecommitdiffstats
path: root/ALSA-afb/Alsa-ApiHat.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-03 12:00:41 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-03 12:00:41 +0200
commit070ccac33d65c651c972dfab9c6148e43d8d5d8e (patch)
tree07b79faec9bcaacf14dcc7f8ed08cacf35557e7d /ALSA-afb/Alsa-ApiHat.c
parent39384e722d9fd7d162012b682aed41b35d16d003 (diff)
Initial Working Version on Alsa Policy-Policy-Hook
Diffstat (limited to 'ALSA-afb/Alsa-ApiHat.c')
-rw-r--r--ALSA-afb/Alsa-ApiHat.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/ALSA-afb/Alsa-ApiHat.c b/ALSA-afb/Alsa-ApiHat.c
index 9797d3c..2c3c5c1 100644
--- a/ALSA-afb/Alsa-ApiHat.c
+++ b/ALSA-afb/Alsa-ApiHat.c
@@ -32,28 +32,28 @@
* array of the verbs exported to afb-daemon
*/
static const struct afb_verb_v2 api_verbs[] = {
- /* VERB'S NAME FUNCTION TO CALL */
- { .verb= "ping" , .callback= pingtest },
- { .verb= "getinfo", .callback= alsaGetInfo},
- { .verb= "getctl", .callback= alsaGetCtls},
- { .verb= "setctl", .callback= alsaSetCtls},
- { .verb= "subscribe", .callback= alsaEvtSubcribe},
- { .verb= "getcardid", .callback= alsaGetCardId},
- { .verb= "halregister", .callback= alsaRegisterHal},
- { .verb= "hallist", .callback= alsaActiveHal},
- { .verb= "ucmquery", .callback= alsaUseCaseQuery},
- { .verb= "ucmset", .callback= alsaUseCaseSet},
- { .verb= "ucmget", .callback= alsaUseCaseGet},
- { .verb= "ucmreset", .callback= alsaUseCaseReset},
- { .verb= "ucmclose", .callback= alsaUseCaseClose},
- { .verb= "addcustomctl",.callback= alsaAddCustomCtls},
- { .verb= NULL } /* marker for end of the array */
+ /* VERB'S NAME FUNCTION TO CALL */
+ { .verb = "ping", .callback = pingtest},
+ { .verb = "getinfo", .callback = alsaGetInfo},
+ { .verb = "getctl", .callback = alsaGetCtls},
+ { .verb = "setctl", .callback = alsaSetCtls},
+ { .verb = "subscribe", .callback = alsaEvtSubcribe},
+ { .verb = "getcardid", .callback = alsaGetCardId},
+ { .verb = "halregister", .callback = alsaRegisterHal},
+ { .verb = "hallist", .callback = alsaActiveHal},
+ { .verb = "ucmquery", .callback = alsaUseCaseQuery},
+ { .verb = "ucmset", .callback = alsaUseCaseSet},
+ { .verb = "ucmget", .callback = alsaUseCaseGet},
+ { .verb = "ucmreset", .callback = alsaUseCaseReset},
+ { .verb = "ucmclose", .callback = alsaUseCaseClose},
+ { .verb = "addcustomctl", .callback = alsaAddCustomCtls},
+ { .verb = NULL} /* marker for end of the array */
};
/*
* description of the binding for afb-daemon
*/
const struct afb_binding_v2 afbBindingV2 = {
- .api = "alsacore",
- .verbs = api_verbs,
+ .api = "alsacore",
+ .verbs = api_verbs,
};