summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.h
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-09-18 17:59:48 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-10-01 10:41:20 +0200
commitb2a41422fa86e1c899328b0b768ad779c29e1ede (patch)
tree1f1c01f0be7d58c94ae574cc18476465b89528ba /alsa-binding/Alsa-ApiHat.h
parentc7ad57e3193b9b21f33719ea9eb84837555b094a (diff)
Add a definition for subdevice maximum
Add a definition to define the maximum number of subdevices in an ALSA device. BUG-AGL: SPEC-2832 Change-Id: Id44d53252119319feb400f3b3fa59534392038af Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.h')
-rw-r--r--alsa-binding/Alsa-ApiHat.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/alsa-binding/Alsa-ApiHat.h b/alsa-binding/Alsa-ApiHat.h
index 59a9b0c..b5d3866 100644
--- a/alsa-binding/Alsa-ApiHat.h
+++ b/alsa-binding/Alsa-ApiHat.h
@@ -35,11 +35,12 @@
#define STATIC static
#ifndef CONTROL_MAXPATH_LEN
- #define CONTROL_MAXPATH_LEN 255
+ #define CONTROL_MAXPATH_LEN 255
#endif
-#define NO_CARD_SELECTED -1
-#define NO_DEVICE_SELECTED -1
+#define NO_CARD_SELECTED -1
+#define NO_DEVICE_SELECTED -1
+#define NO_SUBDEVICE_SELECTED -1
typedef enum {
QUERY_QUIET =0,