summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.h
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-11-04 15:03:58 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-11-04 15:03:58 +0100
commit665073e727623ac7228a86b003004956bf774adb (patch)
tree2557181f3d631a834fe7055893e1b42c47a7b618 /alsa-binding/Alsa-ApiHat.h
parenteac54aceceb2b465340fb6beb4ef635cb46d8237 (diff)
Added PcmInfo API
Change HAL register to fallback to driver name when not direct match found
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 */