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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/alsa-binding/Alsa-ApiHat.h b/alsa-binding/Alsa-ApiHat.h
index ba0d054..209c65b 100644
--- a/alsa-binding/Alsa-ApiHat.h
+++ b/alsa-binding/Alsa-ApiHat.h
@@ -27,7 +27,8 @@
#include <json-c/json.h>
// Soft control have dynamically allocated numid
-#define CTL_AUTO -1
+#define CTL_AUTO -1
+#define CTL_UNKNOWN -2
#ifndef PUBLIC
#define PUBLIC
@@ -54,6 +55,11 @@ typedef enum {
ACTION_GET
} ActionSetGetT;
+typedef enum {
+ CONTROL_ADD,
+ CONTROL_REMOVE
+} ControlAddRemoveT;
+
// structure to store card
typedef struct {
int cardNb;
@@ -105,6 +111,7 @@ 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);
+PUBLIC void alsaRemoveCustomCtls(afb_req_t request);
// AlsaRegEvt
PUBLIC void alsaEvtSubcribe (afb_req_t request);