summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/sound/local.h
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1993-11-28 10:55:59 +0000
committerache <ache@FreeBSD.org>1993-11-28 10:55:59 +0000
commite431e009b6a86f250122caff1005da3ca2ab5173 (patch)
tree4c892d37447f251cc78adbcaf65734abee87eb0e /sys/i386/isa/sound/local.h
parent1b23af429b7543685abb9ca7dab6605819353d17 (diff)
downloadFreeBSD-src-e431e009b6a86f250122caff1005da3ca2ab5173.zip
FreeBSD-src-e431e009b6a86f250122caff1005da3ca2ab5173.tar.gz
Direct #undefs removed to allow flexible manipulation
via config options. Unneded #defines removed. Improved dependance of "snd.h" and NSND.
Diffstat (limited to 'sys/i386/isa/sound/local.h')
-rw-r--r--sys/i386/isa/sound/local.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/sys/i386/isa/sound/local.h b/sys/i386/isa/sound/local.h
index 38d4c78..f81bd78 100644
--- a/sys/i386/isa/sound/local.h
+++ b/sys/i386/isa/sound/local.h
@@ -1,17 +1,10 @@
-/* Generated by configure. Don't edit!!!! */
+/* These few lines are used by FreeBSD (only??). */
-#define KERNEL_SOUNDCARD
-#undef EXCLUDE_PAS
-#undef EXCLUDE_SB
-#undef EXCLUDE_ADLIB
-#undef EXCLUDE_GUS
-#undef EXCLUDE_MPU401
-#undef EXCLUDE_SBPRO
-#undef EXCLUDE_AUDIO
-#undef EXCLUDE_MIDI
-#undef EXCLUDE_YM3812
-#undef EXCLUDE_SEQUENCER
-#undef EXCLUDE_CHIP_MIDI
+#include "snd.h"
+
+#if NSND > 0
+#define CONFIGURE_SOUNDCARD
+#endif
#define DSP_BUFFSIZE 32768
#define SELECTED_SOUND_OPTIONS 0xffffffff
OpenPOWER on IntegriCloud