summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.h
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.h')
-rw-r--r--alsa-binding/Alsa-ApiHat.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/alsa-binding/Alsa-ApiHat.h b/alsa-binding/Alsa-ApiHat.h
index c0e1a1a..97517f3 100644
--- a/alsa-binding/Alsa-ApiHat.h
+++ b/alsa-binding/Alsa-ApiHat.h
@@ -26,8 +26,6 @@
#define AFB_BINDING_VERSION 2
#include <afb/afb-binding.h>
#include <json-c/json.h>
-#include <filescan-utils.h>
-#include <wrap-json.h>
// Waiting for official macro from José
#define AFB_GET_VERBOSITY afb_get_verbosity_v2()
@@ -35,6 +33,15 @@
// Soft control have dynamically allocated numid
#define CTL_AUTO -1
+#ifndef PUBLIC
+ #define PUBLIC
+#endif
+#define STATIC static
+
+#ifndef CONTROL_MAXPATH_LEN
+ #define CONTROL_MAXPATH_LEN 255
+#endif
+
typedef enum {
QUERY_QUIET =0,
QUERY_COMPACT =1,
@@ -87,6 +94,7 @@ 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);
#endif /* ALSALIBMAPPING_H */