Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-3.0-nmw
[cascardo/linux.git] / sound / core / Kconfig
1 # ALSA soundcard-configuration
2 config SND_TIMER
3         tristate
4
5 config SND_PCM
6         tristate
7         select SND_TIMER
8
9 config SND_HWDEP
10         tristate
11
12 config SND_RAWMIDI
13         tristate
14
15 # To be effective this also requires INPUT - users should say:
16 #    select SND_JACK if INPUT=y || INPUT=SND
17 # to avoid having to force INPUT on.
18 config SND_JACK
19         bool
20
21 config SND_SEQUENCER
22         tristate "Sequencer support"
23         select SND_TIMER
24         help
25           Say Y or M to enable MIDI sequencer and router support.  This
26           feature allows routing and enqueueing of MIDI events.  Events
27           can be processed at a given time.
28
29           Many programs require this feature, so you should enable it
30           unless you know what you're doing.
31
32 config SND_SEQ_DUMMY
33         tristate "Sequencer dummy client"
34         depends on SND_SEQUENCER
35         help
36           Say Y here to enable the dummy sequencer client.  This client
37           is a simple MIDI-through client: all normal input events are
38           redirected to the output port immediately.
39
40           You don't need this unless you want to connect many MIDI
41           devices or applications together.
42
43           To compile this driver as a module, choose M here: the module
44           will be called snd-seq-dummy.
45
46 config SND_OSSEMUL
47         select SOUND_OSS_CORE
48         bool
49
50 config SND_MIXER_OSS
51         tristate "OSS Mixer API"
52         select SND_OSSEMUL
53         help
54           To enable OSS mixer API emulation (/dev/mixer*), say Y here
55           and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
56
57           Many programs still use the OSS API, so say Y.
58
59           To compile this driver as a module, choose M here: the module
60           will be called snd-mixer-oss.
61
62 config SND_PCM_OSS
63         tristate "OSS PCM (digital audio) API"
64         select SND_OSSEMUL
65         select SND_PCM
66         help
67           To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
68           here and read <file:Documentation/sound/alsa/OSS-Emulation.txt>.
69
70           Many programs still use the OSS API, so say Y.
71
72           To compile this driver as a module, choose M here: the module
73           will be called snd-pcm-oss.
74
75 config SND_PCM_OSS_PLUGINS
76         bool "OSS PCM (digital audio) API - Include plugin system"
77         depends on SND_PCM_OSS
78         default y
79         help
80           If you disable this option, the ALSA's OSS PCM API will not
81           support conversion of channels, formats and rates. It will
82           behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
83
84 config SND_SEQUENCER_OSS
85         bool "OSS Sequencer API"
86         depends on SND_SEQUENCER
87         select SND_OSSEMUL
88         help
89           Say Y here to enable OSS sequencer emulation (both
90           /dev/sequencer and /dev/music interfaces).
91
92           Many programs still use the OSS API, so say Y.
93
94           If you choose M in "Sequencer support" (SND_SEQUENCER),
95           this will be compiled as a module. The module will be called
96           snd-seq-oss.
97
98 config SND_HRTIMER
99         tristate "HR-timer backend support"
100         depends on HIGH_RES_TIMERS
101         select SND_TIMER
102         help
103           Say Y here to enable HR-timer backend for ALSA timer.  ALSA uses
104           the hrtimer as a precise timing source. The ALSA sequencer code
105           also can use this timing source.
106
107           To compile this driver as a module, choose M here: the module
108           will be called snd-hrtimer.
109
110 config SND_SEQ_HRTIMER_DEFAULT
111         bool "Use HR-timer as default sequencer timer"
112         depends on SND_HRTIMER && SND_SEQUENCER
113         default y
114         help
115           Say Y here to use the HR-timer backend as the default sequencer
116           timer.
117
118 config SND_RTCTIMER
119         tristate "RTC Timer support"
120         depends on RTC
121         select SND_TIMER
122         help
123           Say Y here to enable RTC timer support for ALSA.  ALSA uses
124           the RTC timer as a precise timing source and maps the RTC
125           timer to ALSA's timer interface.  The ALSA sequencer code also
126           can use this timing source.
127
128           To compile this driver as a module, choose M here: the module
129           will be called snd-rtctimer.
130
131           Note that this option is exclusive with the new RTC drivers
132           (CONFIG_RTC_CLASS) since this requires the old API.
133
134 config SND_SEQ_RTCTIMER_DEFAULT
135         bool "Use RTC as default sequencer timer"
136         depends on SND_RTCTIMER && SND_SEQUENCER
137         depends on !SND_SEQ_HRTIMER_DEFAULT
138         default y
139         help
140           Say Y here to use the RTC timer as the default sequencer
141           timer.  This is strongly recommended because it ensures
142           precise MIDI timing even when the system timer runs at less
143           than 1000 Hz.
144
145           If in doubt, say Y.
146
147 config SND_DYNAMIC_MINORS
148         bool "Dynamic device file minor numbers"
149         help
150           If you say Y here, the minor numbers of ALSA device files in
151           /dev/snd/ are allocated dynamically.  This allows you to have
152           more than 8 sound cards, but requires a dynamic device file
153           system like udev.
154
155           If you are unsure about this, say N here.
156
157 config SND_COMPRESS_OFFLOAD
158         tristate "ALSA Compressed audio offload support"
159         default n
160         help
161           If you want support for offloading compressed audio and have such
162           a hardware, then you should say Y here and also to the DSP driver
163           of your platform.
164
165           If you are unsure about this, say N here.
166
167 config SND_SUPPORT_OLD_API
168         bool "Support old ALSA API"
169         default y
170         help
171           Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
172           or older).
173
174 config SND_VERBOSE_PROCFS
175         bool "Verbose procfs contents"
176         depends on PROC_FS
177         default y
178         help
179           Say Y here to include code for verbose procfs contents (provides
180           useful information to developers when a problem occurs).  On the
181           other side, it makes the ALSA subsystem larger.
182
183 config SND_VERBOSE_PRINTK
184         bool "Verbose printk"
185         help
186           Say Y here to enable verbose log messages.  These messages
187           will help to identify source file and position containing
188           printed messages.
189
190           You don't need this unless you're debugging ALSA.
191
192 config SND_DEBUG
193         bool "Debug"
194         help
195           Say Y here to enable ALSA debug code.
196
197 config SND_DEBUG_VERBOSE
198         bool "More verbose debug"
199         depends on SND_DEBUG
200         help
201           Say Y here to enable extra-verbose debugging messages.
202           
203           Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
204           So, say Y only if you are ready to be annoyed.
205
206 config SND_PCM_XRUN_DEBUG
207         bool "Enable PCM ring buffer overrun/underrun debugging"
208         default n
209         depends on SND_DEBUG && SND_VERBOSE_PROCFS
210         help
211           Say Y to enable the PCM ring buffer overrun/underrun debugging.
212           It is usually not required, but if you have trouble with
213           sound clicking when system is loaded, it may help to determine
214           the process or driver which causes the scheduling gaps.
215
216 config SND_VMASTER
217         bool
218
219 config SND_KCTL_JACK
220         bool
221
222 config SND_DMA_SGBUF
223         def_bool y
224         depends on X86
225
226 source "sound/core/seq/Kconfig"