aboutsummaryrefslogtreecommitdiffstats
path: root/AlsaSound/CoreBinding/AlsaAfbBinding.c
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-03-13 21:37:31 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-03-13 21:37:31 +0100
commit25f7aa561cf07f9d46bc77a0733fe3bc350dea5e (patch)
treeadf31dc656b8333b7523f1d7a717c609e6662691 /AlsaSound/CoreBinding/AlsaAfbBinding.c
parent8ef9db3b950467f42263cb325b851375922a054b (diff)
Work In Progress, added setctls. Only work only for http://localhost:1234/api/alsacore/getctls?devid=hw:0&numids=1,2,2014
Diffstat (limited to 'AlsaSound/CoreBinding/AlsaAfbBinding.c')
-rw-r--r--AlsaSound/CoreBinding/AlsaAfbBinding.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/AlsaSound/CoreBinding/AlsaAfbBinding.c b/AlsaSound/CoreBinding/AlsaAfbBinding.c
index a4433e8..c9bdf30 100644
--- a/AlsaSound/CoreBinding/AlsaAfbBinding.c
+++ b/AlsaSound/CoreBinding/AlsaAfbBinding.c
@@ -35,9 +35,9 @@ PUBLIC const struct afb_binding_interface *afbIface;
*/
static const struct afb_verb_desc_v1 binding_verbs[] = {
/* VERB'S NAME SESSION MANAGEMENT FUNCTION TO CALL SHORT DESCRIPTION */
- { .name= "ping" , .session= AFB_SESSION_NONE, .callback= pingtest, .info= "Ping Binding" },
+ { .name= "ping" , .session= AFB_SESSION_NONE, .callback= pingtest, .info= "Ping Binding" },
{ .name= "getinfo", .session= AFB_SESSION_NONE, .callback= alsaGetInfo, .info= "List All/One Sound Cards Info" },
- { .name= "getctl", .session= AFB_SESSION_NONE, .callback= alsaGetCtl, .info= "List All/One Controls from selected sndcard" },
+ { .name= "getctls", .session= AFB_SESSION_NONE,.callback= alsaGetCtls, .info= "List All/One Controls from selected sndcard" },
{ .name= "subscribe", .session= AFB_SESSION_NONE, .callback= alsaSubcribe, .info= "Subscribe to events from selected sndcard" },
{ .name= "getcardid", .session= AFB_SESSION_NONE, .callback= alsaGetCardId, .info= "Get CardId from its short/long name" },
{ .name= "registerHal",.session= AFB_SESSION_NONE,.callback= alsaRegisterHal,.info= "Register Hal CardName/ApiPrefix" },
@@ -59,7 +59,7 @@ static const struct afb_binding binding_description = {
extern int afbBindingV1ServiceInit(struct afb_service service) {
// this is call when after all bindings are loaded
- alsaLibInit (service); // AlsaBinding check for sound card at installation time
+ // alsaLibInit (service); // AlsaBinding check for sound card at installation time
return (0);
};