4 * Configuration of AWE32 sound driver
5 * version 0.4.2; Sep. 15, 1997
7 * Copyright (C) 1996 Takashi Iwai
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #ifndef AWE_CONFIG_H_DEF
25 #define AWE_CONFIG_H_DEF
27 /*----------------------------------------------------------------
28 * system configuration
29 *----------------------------------------------------------------*/
31 /* if you're using obsolete VoxWare 3.0.x on Linux 1.2.x (or pre-Voxware 3.5
32 * versions of FreeBSD), define the following line.
34 #undef AWE_OBSOLETE_VOXWARE
36 /* if you're using OSS-Lite on Linux 2.1.6 or later, define the
39 #undef AWE_NEW_KERNEL_INTERFACE
41 /* if you have lowlevel.h in the lowlevel directory (OSS-Lite), define
46 /* if your system doesn't support patch manager (OSS 3.7 or newer),
47 * define the following line.
49 #undef AWE_NO_PATCHMGR
51 /* if your system has an additional parameter (OSS 3.8b5 or newer),
56 /*----------------------------------------------------------------
57 * AWE32 card configuration:
58 * uncomment the following lines only when auto detection doesn't
59 * work properly on your machine.
60 *----------------------------------------------------------------*/
62 /*#define AWE_DEFAULT_BASE_ADDR 0x620*/ /* base port address */
63 /*#define AWE_DEFAULT_MEM_SIZE 512*/ /* kbytes */
66 /*----------------------------------------------------------------
67 * maximum size of soundfont list table:
68 * you usually don't need to touch this value.
69 *----------------------------------------------------------------*/
71 #define AWE_MAX_SF_LISTS 16
74 /*----------------------------------------------------------------
75 * chunk size of sample and voice tables:
76 * you usually don't need to touch these values.
77 *----------------------------------------------------------------*/
79 #define AWE_MAX_SAMPLES 400
80 #define AWE_MAX_INFOS 800
83 /*----------------------------------------------------------------
84 * chorus & reverb effects send for FM chip: from 0 to 0xff
85 * larger numbers often cause weird sounds.
86 *----------------------------------------------------------------*/
88 #define DEF_FM_CHORUS_DEPTH 0x10
89 #define DEF_FM_REVERB_DEPTH 0x10
92 /*----------------------------------------------------------------*
93 * other compile conditions
94 *----------------------------------------------------------------*/
96 /* initialize FM passthrough even without extended RAM */
97 #undef AWE_ALWAYS_INIT_FM
102 /* GUS compatible mode */
103 #define AWE_HAS_GUS_COMPATIBILITY
105 /* accept all notes/sounds off controls */
106 #define AWE_ACCEPT_ALL_SOUNDS_CONTROL
108 /* add mixer control of emu8000 equalizer */
109 #define CONFIG_AWE32_MIXER
111 /* look up voices according to MIDI channel priority */
112 #define AWE_LOOKUP_MIDI_PRIORITY
114 /*----------------------------------------------------------------*/
116 /* reading configuration of sound driver */
118 #ifdef AWE_OBSOLETE_VOXWARE
121 # include <i386/isa/sound/sound_config.h>
123 # include "sound_config.h"
126 #if defined(CONFIGURE_SOUNDCARD) && !defined(EXCLUDE_AWE32)
127 #define CONFIG_AWE32_SYNTH
130 #else /* AWE_OBSOLETE_VOXWARE */
132 #ifdef HAS_LOWLEVEL_H
133 #include "lowlevel.h"
137 # include <i386/isa/sound/sound_config.h>
138 # if defined(CONFIGURE_SOUNDCARD) && defined(CONFIG_AWE32)
139 # define CONFIG_AWE32_SYNTH
142 # include "../sound_config.h"
146 #endif /* AWE_OBSOLETE_VOXWARE */
149 #endif /* AWE_CONFIG_H_DEF */