diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-24 10:51:08 +0200 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-08-24 10:51:08 +0200 |
commit | b6e3522aae05d770b06d3af7c0cbf71d3a3a447f (patch) | |
tree | 42ec54bfb1cdafb1ca47c6d52f4269065426a772 /Alsa-afb/Alsa-ApiHat.c | |
parent | 612b785b0fb4af835727aa8ebe38afc6c5ec0e1e (diff) |
Updated Readme and info zone for monitoring
Diffstat (limited to 'Alsa-afb/Alsa-ApiHat.c')
-rw-r--r-- | Alsa-afb/Alsa-ApiHat.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Alsa-afb/Alsa-ApiHat.c b/Alsa-afb/Alsa-ApiHat.c index e22f2d5..bbb3959 100644 --- a/Alsa-afb/Alsa-ApiHat.c +++ b/Alsa-afb/Alsa-ApiHat.c @@ -42,20 +42,20 @@ STATIC int AlsaInit(void) { */ 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 = "ping", .callback = pingtest, .info="Ping Presence Check on API"}, + { .verb = "getinfo", .callback = alsaGetInfo, .info="Return sound cards list"}, + { .verb = "getctl", .callback = alsaGetCtls, .info="Get one or many control values"}, + { .verb = "setctl", .callback = alsaSetCtls, .info="Set one control or more"}, + { .verb = "subscribe", .callback = alsaEvtSubcribe, .info="subscribe to alsa events"}, + { .verb = "getcardid", .callback = alsaGetCardId, .info="get sound card id"}, + { .verb = "halregister", .callback = alsaRegisterHal, .info="register a new HAL in alsacore"}, + { .verb = "hallist", .callback = alsaActiveHal, .info="Get list of currently active HAL"}, + { .verb = "ucmquery", .callback = alsaUseCaseQuery,.info="Use Case Manager Query"}, + { .verb = "ucmset", .callback = alsaUseCaseSet,.info="Use Case Manager set"}, + { .verb = "ucmget", .callback = alsaUseCaseGet,.info="Use Case Manager Get"}, + { .verb = "ucmreset", .callback = alsaUseCaseReset, .info="Use Case Manager Reset"}, + { .verb = "ucmclose", .callback = alsaUseCaseClose, .info="Use Case Manager Close"}, + { .verb = "addcustomctl", .callback = alsaAddCustomCtls, .info="Add Software Alsa Custom Control"}, { .verb = NULL} /* marker for end of the array */ }; |