summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.h
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-07-19 17:22:00 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-07-20 11:39:37 +0000
commit7b20b115c4ec4b9c157d19d5154453f5c751a5d6 (patch)
tree3a56e02b4aaff0cc0bf205f27134d40a617dda59 /alsa-binding/Alsa-ApiHat.h
parent2209293bec9ce0cff772dedbec326704f5a2ca42 (diff)
Use some app-fwk macros to support v2 and v3
Use some application framework macros to support both v2 and v3 compilation. Change-Id: I3051bbeff8788ea2c71545e5d253619d4749ff41 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.h')
-rw-r--r--alsa-binding/Alsa-ApiHat.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/alsa-binding/Alsa-ApiHat.h b/alsa-binding/Alsa-ApiHat.h
index 7e7c349..eaef9c7 100644
--- a/alsa-binding/Alsa-ApiHat.h
+++ b/alsa-binding/Alsa-ApiHat.h
@@ -74,29 +74,29 @@ typedef struct {
// import from AlsaAfbBinding
extern const struct afb_binding_interface *afbIface;
-PUBLIC json_object *alsaCheckQuery (struct afb_req request, queryValuesT *queryValues);
+PUBLIC json_object *alsaCheckQuery (afb_req_t request, queryValuesT *queryValues);
// AlseCoreSetGet exports
PUBLIC int alsaGetSingleCtl (snd_ctl_t *ctlDev, snd_ctl_elem_id_t *elemId, ctlRequestT *ctlRequest, queryModeE queryMode);
-PUBLIC void alsaGetInfo (struct afb_req request);
-PUBLIC void alsaGetCtls(struct afb_req request);
-PUBLIC void alsaSetCtls(struct afb_req request);
+PUBLIC void alsaGetInfo (afb_req_t request);
+PUBLIC void alsaGetCtls(afb_req_t request);
+PUBLIC void alsaSetCtls(afb_req_t request);
// AlsaUseCase exports
-PUBLIC void alsaUseCaseQuery(struct afb_req request);
-PUBLIC void alsaUseCaseSet(struct afb_req request);
-PUBLIC void alsaUseCaseGet(struct afb_req request);
-PUBLIC void alsaUseCaseClose(struct afb_req request);
-PUBLIC void alsaUseCaseReset(struct afb_req request);
-PUBLIC void alsaAddCustomCtls(struct afb_req request);
+PUBLIC void alsaUseCaseQuery(afb_req_t request);
+PUBLIC void alsaUseCaseSet(afb_req_t request);
+PUBLIC void alsaUseCaseGet(afb_req_t request);
+PUBLIC void alsaUseCaseClose(afb_req_t request);
+PUBLIC void alsaUseCaseReset(afb_req_t request);
+PUBLIC void alsaAddCustomCtls(afb_req_t request);
// AlsaRegEvt
-PUBLIC void alsaEvtSubcribe (struct afb_req request);
-PUBLIC void alsaGetCardId (struct afb_req request);
-PUBLIC void alsaRegisterHal (struct afb_req request);
-PUBLIC void alsaActiveHal (struct afb_req request);
-PUBLIC void alsaPcmInfo (struct afb_req request);
+PUBLIC void alsaEvtSubcribe (afb_req_t request);
+PUBLIC void alsaGetCardId (afb_req_t request);
+PUBLIC void alsaRegisterHal (afb_req_t request);
+PUBLIC void alsaActiveHal (afb_req_t request);
+PUBLIC void alsaPcmInfo (afb_req_t request);
#endif /* ALSALIBMAPPING_H */