diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-08-19 11:26:47 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2019-08-19 11:48:24 +0200 |
commit | b30eb2b2d8f83f29874e2d63dd752e9cf296da37 (patch) | |
tree | 3aa0841eb34c5c6820233aa367d7e6d9d35520a2 /alsa-binding/Alsa-ApiHat.h | |
parent | 9340d0d65822ece34aa8fd7cabac0315ae7c93c3 (diff) |
Make a function to get card number from card path
Make a function to get card number from card path, will be needed to
for added/removed card events.
Bug-AGL: SPEC-2749
Change-Id: Ic0cc6fd84a54432c696892772f2f66d1bde59a65
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.h')
-rw-r--r-- | alsa-binding/Alsa-ApiHat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/alsa-binding/Alsa-ApiHat.h b/alsa-binding/Alsa-ApiHat.h index 0300f3d..59a9b0c 100644 --- a/alsa-binding/Alsa-ApiHat.h +++ b/alsa-binding/Alsa-ApiHat.h @@ -90,6 +90,7 @@ extern const struct afb_binding_interface *afbIface; PUBLIC json_object *alsaCheckQuery (afb_req_t request, queryValuesT *queryValues); // AlseCoreSetGet exports +PUBLIC int getCardNbFromCardPath(char *cardPath); PUBLIC json_object *getCardInfo(int card); PUBLIC int alsaGetSingleCtl (snd_ctl_t *ctlDev, snd_ctl_elem_id_t *elemId, ctlRequestT *ctlRequest, queryModeE queryMode); PUBLIC void alsaGetInfo (afb_req_t request); |