summaryrefslogtreecommitdiffstats
path: root/AlsaSound/HALayer
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/HALayer
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/HALayer')
-rw-r--r--AlsaSound/HALayer/SharedHal/SharedHalLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/AlsaSound/HALayer/SharedHal/SharedHalLib.c b/AlsaSound/HALayer/SharedHal/SharedHalLib.c
index 0b39f29..43d0cfe 100644
--- a/AlsaSound/HALayer/SharedHal/SharedHalLib.c
+++ b/AlsaSound/HALayer/SharedHal/SharedHalLib.c
@@ -287,7 +287,7 @@ PUBLIC int afbBindingV1ServiceInit(struct afb_service service) {
queryurl = json_object_new_object();
json_object_object_add(queryurl, "prefix", json_object_new_string(alsaHalSndCard.prefix));
json_object_object_add(queryurl, "name", json_object_new_string(alsaHalSndCard.name));
- afb_service_call(srvitf, "alsacore", "registerHal", queryurl, halInitCB, NULL);
+ afb_service_call(srvitf, "alsacore", "registerHal", queryurl, halInitCB, queryurl);
OnExit:
return (rc);