Blame view

sound/core/Kconfig 4.76 KB
ec8f24b7f   Thomas Gleixner   treewide: Add SPD...
1
  # SPDX-License-Identifier: GPL-2.0-only
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
  # ALSA soundcard-configuration
  config SND_TIMER
  	tristate
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
5
6
7
  
  config SND_PCM
  	tristate
90bbaf66e   Jie Yang   ALSA: timer: add ...
8
  	select SND_TIMER if SND_PCM_TIMER
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
9

838d1631b   Russell King   ALSA: pcm: add DR...
10
11
  config SND_PCM_ELD
  	bool
9203dd016   Russell King   ALSA: pcm: add IE...
12
13
  config SND_PCM_IEC958
  	bool
b7ae6f31d   Daniel Mack   ALSA: move dmaeng...
14
  config SND_DMAENGINE_PCM
903eb3187   Daniel Mack   ALSA: core: allow...
15
  	tristate
b7ae6f31d   Daniel Mack   ALSA: move dmaeng...
16

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
17
18
  config SND_HWDEP
  	tristate
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19

111b0cdb9   Takashi Iwai   ALSA: seq: Allow ...
20
21
  config SND_SEQ_DEVICE
  	tristate
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
22
23
  config SND_RAWMIDI
  	tristate
111b0cdb9   Takashi Iwai   ALSA: seq: Allow ...
24
  	select SND_SEQ_DEVICE if SND_SEQUENCER != n
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
25

5c845beb4   Takashi Iwai   ALSA: Don't promp...
26
27
  config SND_COMPRESS_OFFLOAD
  	tristate
0d94e41ab   Mark Brown   ALSA: Build jack ...
28
29
  config SND_JACK
  	bool
fe0d128c5   Takashi Iwai   ALSA: jack: Allow...
30
31
32
33
34
  # enable input device support in jack layer
  config SND_JACK_INPUT_DEV
  	bool
  	depends on SND_JACK
  	default y if INPUT=y || INPUT=SND
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
35
  config SND_OSSEMUL
eb3b705aa   Takashi Iwai   ALSA: Make CONFIG...
36
  	bool "Enable OSS Emulation"
d886e87cb   Tejun Heo   sound: make OSS s...
37
  	select SOUND_OSS_CORE
eb3b705aa   Takashi Iwai   ALSA: Make CONFIG...
38
39
  	help
  	  This option enables the build of OSS emulation layer.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
40
41
42
  
  config SND_MIXER_OSS
  	tristate "OSS Mixer API"
eb3b705aa   Takashi Iwai   ALSA: Make CONFIG...
43
  	depends on SND_OSSEMUL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
44
45
  	help
  	  To enable OSS mixer API emulation (/dev/mixer*), say Y here
5fb94e9ca   Mauro Carvalho Chehab   docs: Fix some br...
46
  	  and read <file:Documentation/sound/designs/oss-emulation.rst>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
47
48
49
50
51
52
53
54
  
  	  Many programs still use the OSS API, so say Y.
  
  	  To compile this driver as a module, choose M here: the module
  	  will be called snd-mixer-oss.
  
  config SND_PCM_OSS
  	tristate "OSS PCM (digital audio) API"
eb3b705aa   Takashi Iwai   ALSA: Make CONFIG...
55
  	depends on SND_OSSEMUL
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
56
57
58
  	select SND_PCM
  	help
  	  To enable OSS digital audio (PCM) emulation (/dev/dsp*), say Y
5fb94e9ca   Mauro Carvalho Chehab   docs: Fix some br...
59
  	  here and read <file:Documentation/sound/designs/oss-emulation.rst>.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
60
61
62
63
64
  
  	  Many programs still use the OSS API, so say Y.
  
  	  To compile this driver as a module, choose M here: the module
  	  will be called snd-pcm-oss.
21a3479a0   Jaroslav Kysela   [ALSA] PCM midlev...
65
66
67
68
69
70
71
72
  config SND_PCM_OSS_PLUGINS
  	bool "OSS PCM (digital audio) API - Include plugin system"
  	depends on SND_PCM_OSS
          default y
  	help
            If you disable this option, the ALSA's OSS PCM API will not
            support conversion of channels, formats and rates. It will
            behave like most of new OSS/Free drivers in 2.4/2.6 kernels.
90bbaf66e   Jie Yang   ALSA: timer: add ...
73
74
75
76
  config SND_PCM_TIMER
  	bool "PCM timer interface" if EXPERT
  	default y
  	help
ac1efcfb3   Randy Dunlap   ALSA: timer: fix ...
77
78
  	  If you disable this option, pcm timer will be unavailable, so
  	  those stubs that use pcm timer (e.g. dmix, dsnoop & co) may work
90bbaf66e   Jie Yang   ALSA: timer: add ...
79
  	  incorrectlly.
ac1efcfb3   Randy Dunlap   ALSA: timer: fix ...
80
  	  For some embedded devices, we may disable it to reduce memory
90bbaf66e   Jie Yang   ALSA: timer: add ...
81
  	  footprint, about 20KB on x86_64 platform.
bbaf5e973   Takashi Iwai   ALSA: Add hrtimer...
82
83
84
85
86
87
88
89
90
91
92
  config SND_HRTIMER
  	tristate "HR-timer backend support"
  	depends on HIGH_RES_TIMERS
  	select SND_TIMER
  	help
  	  Say Y here to enable HR-timer backend for ALSA timer.  ALSA uses
  	  the hrtimer as a precise timing source. The ALSA sequencer code
  	  also can use this timing source.
  
  	  To compile this driver as a module, choose M here: the module
  	  will be called snd-hrtimer.
332682b1c   Clemens Ladisch   [ALSA] dynamic mi...
93
  config SND_DYNAMIC_MINORS
b10e53912   Clemens Ladisch   [ALSA] make CONFI...
94
  	bool "Dynamic device file minor numbers"
332682b1c   Clemens Ladisch   [ALSA] dynamic mi...
95
96
97
98
99
100
101
  	help
  	  If you say Y here, the minor numbers of ALSA device files in
  	  /dev/snd/ are allocated dynamically.  This allows you to have
  	  more than 8 sound cards, but requires a dynamic device file
  	  system like udev.
  
  	  If you are unsure about this, say N here.
7bb2491b3   Takashi Iwai   ALSA: Add kconfig...
102
103
104
105
106
107
108
109
  config SND_MAX_CARDS
  	int "Max number of sound cards"
  	range 4 256
  	default 32
  	depends on SND_DYNAMIC_MINORS
  	help
  	  Specify the max number of sound cards that can be assigned
  	  on a single machine.
59d485825   Takashi Iwai   [ALSA] pcm - Make...
110
111
  config SND_SUPPORT_OLD_API
  	bool "Support old ALSA API"
59d485825   Takashi Iwai   [ALSA] pcm - Make...
112
113
114
115
  	default y
  	help
  	  Say Y here to support the obsolete ALSA PCM API (ver.0.9.0 rc3
  	  or older).
e0ecb05a9   Jie Yang   ALSA: Kconfig: ad...
116
117
118
119
120
121
122
123
  config SND_PROC_FS
          bool "Sound Proc FS Support" if EXPERT
          depends on PROC_FS
          default y
          help
            Say 'N' to disable Sound proc FS, which may reduce code size about
            9KB on x86_64 platform.
            If unsure say Y.
21a3479a0   Jaroslav Kysela   [ALSA] PCM midlev...
124
125
  config SND_VERBOSE_PROCFS
  	bool "Verbose procfs contents"
e0ecb05a9   Jie Yang   ALSA: Kconfig: ad...
126
  	depends on SND_PROC_FS
21a3479a0   Jaroslav Kysela   [ALSA] PCM midlev...
127
128
129
  	default y
  	help
  	  Say Y here to include code for verbose procfs contents (provides
a982ac06b   Matt LaPlante   misc doc and kcon...
130
            useful information to developers when a problem occurs).  On the
21a3479a0   Jaroslav Kysela   [ALSA] PCM midlev...
131
            other side, it makes the ALSA subsystem larger.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
132
133
  config SND_VERBOSE_PRINTK
  	bool "Verbose printk"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
134
135
136
137
138
139
140
141
142
  	help
  	  Say Y here to enable verbose log messages.  These messages
  	  will help to identify source file and position containing
  	  printed messages.
  
  	  You don't need this unless you're debugging ALSA.
  
  config SND_DEBUG
  	bool "Debug"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
143
144
  	help
  	  Say Y here to enable ALSA debug code.
62cf872a8   Takashi Iwai   [ALSA] Replace CO...
145
146
  config SND_DEBUG_VERBOSE
  	bool "More verbose debug"
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
147
148
  	depends on SND_DEBUG
  	help
62cf872a8   Takashi Iwai   [ALSA] Replace CO...
149
150
151
152
  	  Say Y here to enable extra-verbose debugging messages.
  	  
  	  Let me repeat: it enables EXTRA-VERBOSE DEBUGGING messages.
  	  So, say Y only if you are ready to be annoyed.
61fb63c09   Jaroslav Kysela   [ALSA] PCM core -...
153
154
155
156
  
  config SND_PCM_XRUN_DEBUG
  	bool "Enable PCM ring buffer overrun/underrun debugging"
  	default n
b7d90a356   Takashi Iwai   [ALSA] Fix Oops a...
157
  	depends on SND_DEBUG && SND_VERBOSE_PROCFS
61fb63c09   Jaroslav Kysela   [ALSA] PCM core -...
158
159
160
161
162
  	help
  	  Say Y to enable the PCM ring buffer overrun/underrun debugging.
  	  It is usually not required, but if you have trouble with
  	  sound clicking when system is loaded, it may help to determine
  	  the process or driver which causes the scheduling gaps.
e922b0028   Takashi Iwai   [ALSA] Move vmast...
163
164
165
  
  config SND_VMASTER
  	bool
0528c7494   Michal Marek   ALSA: clean up th...
166

cc6a8acde   Takashi Iwai   ALSA: Fix SG-buff...
167
168
169
  config SND_DMA_SGBUF
  	def_bool y
  	depends on X86
0528c7494   Michal Marek   ALSA: clean up th...
170
  source "sound/core/seq/Kconfig"