diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-12-14 22:39:22 +0100 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-12-20 11:10:17 +0100 |
commit | 07c240d783974970138ab94a4221935edf8ae9b6 (patch) | |
tree | 09cbdbc96781c44f1798509e03d5df5f5bed4e50 /4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | |
parent | 03776c5a3fa9adb02a8ebb43dcc693d116390e64 (diff) |
Add a function to get values of an alsa control
Rework communication with 'alsacore' binding to be able to get current
ALSA controls values.
Bug-AGL: SPEC-1313
Change-Id: If1b4b9bdc49849772075e184768f572ac88fe6c3
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c index 4527c23..b9ba537 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-cb.c @@ -233,7 +233,7 @@ int HalCtlsHandleOneHalMapObject(AFB_ApiT apiHandle, char *cardId, struct CtlHal return -1; } } - else if(HalCtlsGetAlsaCtlInfo(apiHandle, cardId, &alsaMap->ctl)) { + else if(HalCtlsUpdateAlsaCtlProperties(apiHandle, cardId, &alsaMap->ctl)) { AFB_ApiError(apiHandle, "An error happened when trying to get existing alsa control info"); return -2; } |