aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/include
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>1998-02-18 02:27:00 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>1998-02-18 02:27:00 +0000
commita7b4a3794c1ac0a94df1f4845fcb8258eeb3d7e9 (patch)
treec480cc0811070b2bafd60962c27625068e7fca23 /sys/i386/include
parent39a9295edc5052ad6b8513aed9986272d5ec9b68 (diff)
downloadsrc-a7b4a3794c1ac0a94df1f4845fcb8258eeb3d7e9.tar.gz
src-a7b4a3794c1ac0a94df1f4845fcb8258eeb3d7e9.zip
soundcard.h wasn't upgraded when i386/isa/snd was
Notes
Notes: svn path=/head/; revision=33530
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/soundcard.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys/i386/include/soundcard.h b/sys/i386/include/soundcard.h
index 2dc1a42e2809..76b3facd55a7 100644
--- a/sys/i386/include/soundcard.h
+++ b/sys/i386/include/soundcard.h
@@ -49,6 +49,46 @@
**********************************************************************
*/
+/*
+ * SOUND_VERSION is only used by the voxware driver. Hopefully apps
+ * should not depend on it, but rather look at the capabilities
+ * of the driver in the kernel!
+ */
+#define SOUND_VERSION 301
+#define VOXWARE /* does this have any use ? */
+
+/*
+ * Supported card ID numbers (Should be somewhere else? We keep
+ * them here just for compativility with the old driver, but these
+ * constants are of little or no use).
+ */
+
+#define SNDCARD_ADLIB 1
+#define SNDCARD_SB 2
+#define SNDCARD_PAS 3
+#define SNDCARD_GUS 4
+#define SNDCARD_MPU401 5
+#define SNDCARD_SB16 6
+#define SNDCARD_SB16MIDI 7
+#define SNDCARD_UART6850 8
+#define SNDCARD_GUS16 9
+#define SNDCARD_MSS 10
+#define SNDCARD_PSS 11
+#define SNDCARD_SSCAPE 12
+#define SNDCARD_PSS_MPU 13
+#define SNDCARD_PSS_MSS 14
+#define SNDCARD_SSCAPE_MSS 15
+#define SNDCARD_TRXPRO 16
+#define SNDCARD_TRXPRO_SB 17
+#define SNDCARD_TRXPRO_MPU 18
+#define SNDCARD_MAD16 19
+#define SNDCARD_MAD16_MPU 20
+#define SNDCARD_CS4232 21
+#define SNDCARD_CS4232_MPU 22
+#define SNDCARD_MAUI 23
+#define SNDCARD_PSEUDO_MSS 24
+#define SNDCARD_AWE32 25
+
#include <sys/types.h>
#ifndef _IOWR
#include <sys/ioccom.h>
@@ -621,6 +661,7 @@ struct synth_info { /* Read only */
#define SAMPLE_TYPE_BASIC 0x10
#define SAMPLE_TYPE_GUS SAMPLE_TYPE_BASIC
+#define SAMPLE_TYPE_AWE32 0x20
int perc_mode; /* No longer supported */
int nr_voices;
@@ -724,6 +765,7 @@ typedef struct audio_buf_info {
#define DSP_CAP_COPROC 0x00000800
/* Has a coprocessor, sometimes it's a DSP but usually not */
#define DSP_CAP_TRIGGER 0x00001000 /* Supports SETTRIGGER */
+#define DSP_CAP_MMAP 0x00002000 /* Supports mmap() */
/*
* What do these function do ?