summaryrefslogtreecommitdiff
path: root/lib/libossaudio/soundcard.h
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-05-03 19:01:49 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2003-05-03 19:01:49 +0000
commit0aaa720d431428773584a5b985e6815b2a2ce712 (patch)
tree07450774acfc312dd5cefd258a9874a625408b0b /lib/libossaudio/soundcard.h
parentb5bbf8376973140119b6cf476858dd67225447d8 (diff)
- make it -Wall clean
- add SNDCTL_DSP_SETDUPLEX emulation (netbsd) - SNDCTL_DSP_POST is a noop to prevent some apps blocking (netbsd) - some man pages fixes (from me and netbsd) - add some more missing #defines for SOUND_MIXER_* (netbsd)
Diffstat (limited to 'lib/libossaudio/soundcard.h')
-rw-r--r--lib/libossaudio/soundcard.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libossaudio/soundcard.h b/lib/libossaudio/soundcard.h
index 20fbccc4408..abfd228d999 100644
--- a/lib/libossaudio/soundcard.h
+++ b/lib/libossaudio/soundcard.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: soundcard.h,v 1.9 2002/04/24 21:59:53 espie Exp $ */
+/* $OpenBSD: soundcard.h,v 1.10 2003/05/03 19:01:48 avsm Exp $ */
/* $NetBSD: soundcard.h,v 1.11 2001/05/09 21:49:58 augustss Exp $ */
/*-
@@ -268,6 +268,14 @@
#define SOUND_MASK_LINE1 (1 << SOUND_MIXER_LINE1)
#define SOUND_MASK_LINE2 (1 << SOUND_MIXER_LINE2)
#define SOUND_MASK_LINE3 (1 << SOUND_MIXER_LINE3)
+#define SOUND_MASK_DIGITAL1 (1 << SOUND_MIXER_DIGITAL1)
+#define SOUND_MASK_DIGITAL2 (1 << SOUND_MIXER_DIGITAL2)
+#define SOUND_MASK_DIGITAL3 (1 << SOUND_MIXER_DIGITAL3)
+#define SOUND_MASK_PHONEIN (1 << SOUND_MIXER_PHONEIN)
+#define SOUND_MASK_PHONEOUT (1 << SOUND_MIXER_PHONEOUT)
+#define SOUND_MASK_VIDEO (1 << SOUND_MIXER_VIDEO)
+#define SOUND_MASK_RADIO (1 << SOUND_MIXER_RADIO)
+#define SOUND_MASK_MONITOR (1 << SOUND_MIXER_MONITOR)
typedef struct mixer_info {
char id[16];