diff options
author | 2018-12-14 22:39:22 +0100 | |
---|---|---|
committer | 2018-12-20 15:18:36 +0100 | |
commit | 6426836055fac0e9bcfcfa074a71247215752eae (patch) | |
tree | 0c96cfcc4be1e218c5ba29ceb98c844989946449 /4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h | |
parent | 5283492076fa4a0e537c255337d4139ab33896f7 (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-alsacore-link.h')
-rw-r--r-- | 4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h index b11993b..45dc996 100644 --- a/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h +++ b/4a-hal/4a-hal-controllers/4a-hal-controllers-alsacore-link.h @@ -81,7 +81,7 @@ uint8_t HalCtlsFreeAlsaCtlsMap(struct CtlHalAlsaMapT *alsaCtlsMap); // HAL controllers alsacore calls funtions int HalCtlsGetCardIdByCardPath(AFB_ApiT apiHandle, char *devPath); int HalCtlsSubscribeToAlsaCardEvent(AFB_ApiT apiHandle, char *cardId); -int HalCtlsGetAlsaCtlInfo(AFB_ApiT apiHandle, char *cardId, struct CtlHalAlsaCtl *currentAlsaCtl); +int HalCtlsUpdateAlsaCtlProperties(AFB_ApiT apiHandle, char *cardId, struct CtlHalAlsaCtl *currentAlsaCtl); int HalCtlsSetAlsaCtlValue(AFB_ApiT apiHandle, char *cardId, int ctlId, json_object *valuesJ); int HalCtlsCreateAlsaCtl(AFB_ApiT apiHandle, char *cardId, struct CtlHalAlsaCtl *alsaCtlToCreate); |