From 25f7aa561cf07f9d46bc77a0733fe3bc350dea5e Mon Sep 17 00:00:00 2001 From: Fulup Ar Foll Date: Mon, 13 Mar 2017 21:37:31 +0100 Subject: Work In Progress, added setctls. Only work only for http://localhost:1234/api/alsacore/getctls?devid=hw:0&numids=1,2,2014 --- AlsaSound/HALayer/SharedHal/SharedHalLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'AlsaSound/HALayer') 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); -- cgit 1.2.3-korg