summaryrefslogtreecommitdiff
path: root/sys/dev/audio_if.h
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2002-05-06 23:07:27 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2002-05-06 23:07:27 +0000
commit6d6d02b46628e7d7f67e3e9d2a08fddf968f9c5b (patch)
treee6add40aab1214f22e945da7cf8598619e578a80 /sys/dev/audio_if.h
parent13e1627c27c2bad74a411b2929fe5cb8efd7febe (diff)
sync uaudio with NetBSD
Diffstat (limited to 'sys/dev/audio_if.h')
-rw-r--r--sys/dev/audio_if.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/audio_if.h b/sys/dev/audio_if.h
index 9d1be342480..5ba1d63ffe8 100644
--- a/sys/dev/audio_if.h
+++ b/sys/dev/audio_if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: audio_if.h,v 1.16 2002/03/14 03:16:03 millert Exp $ */
+/* $OpenBSD: audio_if.h,v 1.17 2002/05/06 23:07:25 nate Exp $ */
/* $NetBSD: audio_if.h,v 1.24 1998/01/10 14:07:25 tv Exp $ */
/*
@@ -159,5 +159,11 @@ int audioprint(void *, const char *);
#define IPL_AUDIO IPL_BIO /* XXX */
#endif
+/*
+ * USB Audio specification defines 12 channels:
+ * L R C LFE Ls Rs Lc Rc S Sl Sr T
+ */
+#define AUDIO_MAX_CHANNELS 12
+
#endif /* _SYS_DEV_AUDIO_IF_H_ */