1994-03-11 10:27:25 +00:00
|
|
|
/* for FreeBSD */
|
1994-08-02 07:55:43 +00:00
|
|
|
/*
|
1995-03-05 22:11:57 +00:00
|
|
|
* $Id: local.h,v 1.11 1994/11/01 17:26:50 ache Exp
|
1994-08-02 07:55:43 +00:00
|
|
|
*/
|
1993-11-28 10:55:59 +00:00
|
|
|
#include "snd.h"
|
|
|
|
|
1994-09-27 17:58:30 +00:00
|
|
|
#include <param.h>
|
|
|
|
#include <systm.h>
|
|
|
|
#include <machine/cpufunc.h>
|
|
|
|
#include <vm/vm.h>
|
|
|
|
|
1993-11-28 10:55:59 +00:00
|
|
|
#if NSND > 0
|
1994-03-11 10:27:25 +00:00
|
|
|
#define KERNEL_SOUNDCARD
|
1993-11-28 10:55:59 +00:00
|
|
|
#endif
|
1993-10-23 10:55:52 +00:00
|
|
|
|
1994-10-01 02:17:17 +00:00
|
|
|
#ifndef EXCLUDE_UART6850
|
|
|
|
#define EXCLUDE_UART6850
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_PSS
|
|
|
|
#define EXCLUDE_PSS
|
|
|
|
#endif
|
|
|
|
|
1994-04-13 01:10:08 +00:00
|
|
|
#define DSP_BUFFSIZE 65536
|
1995-03-04 21:11:21 +00:00
|
|
|
#define SELECTED_SOUND_OPTIONS 0xffffffff
|
1994-10-01 02:17:17 +00:00
|
|
|
#define SOUND_VERSION_STRING "2.90-2"
|
1995-03-04 21:11:21 +00:00
|
|
|
#define SOUND_CONFIG_DATE "Sun Feb 5 14:38:12 EST 1995"
|
1995-03-05 22:11:57 +00:00
|
|
|
#define SOUND_CONFIG_BY "freebsd-hackers"
|
|
|
|
#define SOUND_CONFIG_HOST "freebsd.org"
|
|
|
|
#define SOUND_CONFIG_DOMAIN "freebsd.org"
|
1995-03-04 21:11:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* Reversed the VoxWare EXCLUDE options -Sujal Patel (smpatel@wam.umd.edu) */
|
|
|
|
|
|
|
|
#ifndef EXCLUDE_PAS
|
|
|
|
#define EXCLUDE_PAS
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_SB
|
|
|
|
#define EXCLUDE_SB
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_GUS
|
|
|
|
#define EXCLUDE_GUS
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_MPU401
|
|
|
|
#define EXCLUDE_MPU401
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_UART6850
|
|
|
|
#define EXCLUDE_UART6850
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_PSS
|
|
|
|
#define EXCLUDE_PSS
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_GUS16
|
|
|
|
#define EXCLUDE_GUS16
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_GUSMAX
|
|
|
|
#define EXCLUDE_GUSMAX
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_MSS
|
|
|
|
#define EXCLUDE_MSS
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_SBPRO
|
|
|
|
#define EXCLUDE_SBPRO
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_SB16
|
|
|
|
#define EXCLUDE_SB16
|
|
|
|
#endif
|
|
|
|
#ifndef EXCLUDE_YM3812
|
|
|
|
#define EXCLUDE_YM3812
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef AUDIO_PAS
|
|
|
|
#undef EXCLUDE_PAS
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_SB
|
|
|
|
#undef EXCLUDE_SB
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_GUS
|
|
|
|
#undef EXCLUDE_GUS
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_MPU401
|
|
|
|
#undef EXCLUDE_MPU401
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_UART6850
|
|
|
|
#undef EXCLUDE_UART6850
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_PSS
|
|
|
|
#undef EXCLUDE_PSS
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_GUS16
|
1995-03-05 22:11:57 +00:00
|
|
|
#undef EXCLUDE_GUS
|
1995-03-04 21:11:21 +00:00
|
|
|
#undef EXCLUDE_GUS16
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_GUSMAX
|
|
|
|
#undef EXCLUDE_GUSMAX
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_MSS
|
|
|
|
#undef EXCLUDE_MSS
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_SBPRO
|
|
|
|
#undef EXCLUDE_SBPRO
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_SB16
|
|
|
|
#undef EXCLUDE_SB16
|
|
|
|
#endif
|
|
|
|
#ifdef AUDIO_YM3812
|
|
|
|
#undef EXCLUDE_YM3812
|
|
|
|
#endif
|