summaryrefslogtreecommitdiffstats
path: root/ALSA-afb/Alsa-ApiHat.c
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-07-09 19:59:24 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-07-09 19:59:24 +0200
commitdb4d63597b22b63eb73b5c0558476652ed4988bb (patch)
tree839d67c2dd32064f1047f788f70860cf3036e691 /ALSA-afb/Alsa-ApiHat.c
parent3d5816a07c22dd6c655a60000fb0f175d613e484 (diff)
initial version of HAL (registration + getctls)
Work in progress
Diffstat (limited to 'ALSA-afb/Alsa-ApiHat.c')
-rw-r--r--ALSA-afb/Alsa-ApiHat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ALSA-afb/Alsa-ApiHat.c b/ALSA-afb/Alsa-ApiHat.c
index 588e91b..5256fb4 100644
--- a/ALSA-afb/Alsa-ApiHat.c
+++ b/ALSA-afb/Alsa-ApiHat.c
@@ -39,7 +39,8 @@ static const struct afb_verb_v2 api_verbs[] = {
{ .verb= "setctls", .callback= alsaSetCtls},
{ .verb= "subscribe", .callback= alsaEvtSubcribe},
{ .verb= "getcardid", .callback= alsaGetCardId},
- { .verb= "registerHal", .callback= alsaRegisterHal},
+ { .verb= "halregister", .callback= alsaRegisterHal},
+ { .verb= "hallist", .callback= alsaActiveHal},
{ .verb= "ucmquery", .callback= alsaUseCaseQuery},
{ .verb= "ucmset", .callback= alsaUseCaseSet},
{ .verb= "ucmget", .callback= alsaUseCaseGet},