aboutsummaryrefslogtreecommitdiffstats
path: root/AudioLogic/AudioLogicLib.h
diff options
context:
space:
mode:
Diffstat (limited to 'AudioLogic/AudioLogicLib.h')
-rw-r--r--AudioLogic/AudioLogicLib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/AudioLogic/AudioLogicLib.h b/AudioLogic/AudioLogicLib.h
index 21513fd..8530360 100644
--- a/AudioLogic/AudioLogicLib.h
+++ b/AudioLogic/AudioLogicLib.h
@@ -40,10 +40,24 @@ typedef int BOOL;
// import from AlsaAfbBinding
extern const struct afb_binding_interface *afbIface;
+
+// This structure hold private data for a given client of binding
+typedef struct {
+
+ int cardid;
+ const char *devid;
+ const char *shortname;
+ const char *longname;
+ json_object *queryurl;
+} AudioLogicCtxT;
+
// import from AlsaAfbMapping
PUBLIC void audioLogicSetVol (struct afb_req request);
PUBLIC void audioLogicGetVol(struct afb_req request);
PUBLIC void audioLogicMonitor(struct afb_req request);
+PUBLIC void audioLogicOpen(struct afb_req request);
+PUBLIC void audioLogicClose(struct afb_req request);
+PUBLIC void audioLogicSubscribe(struct afb_req request);
PUBLIC int audioLogicInit (struct afb_service service);
#endif /* AUDIOLIBMAPPING_H */