diff options
Diffstat (limited to 'Alsa-afb')
-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 */ }; |