linux/sound
Tejun Heo d886e87cb8 sound: make OSS sound core optional
sound/sound_core.c implements soundcore.ko and contains two parts -
sound_class which is shared by both ALSA and OSS and device
redirection support for OSS.  It's always compiled when any sound
support is enabled although it's necessary only when OSS (the actual
one or emulation) is enabled.  This is slightly wasteful and as device
redirection always registers character device region for major 14, it
prevents alternative implementation.

This patch introduces a new config SOUND_OSS_CORE which is selected
iff OSS support is actually necessary and build the OSS core part
conditionally.

If OSS is disabled, soundcore merely contains sound_class but leaving
it that way seems to be the simplest approach as otherwise sound_class
should be in ALSA core file if OSS is disabled but should be in
soundcore if OSS is enabled.  Also, there's also the user confusion
factor.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-08-29 10:06:21 +02:00
..
aoa ALSA: aoa - Remove duplicate assignment of SNDRV_PCM_FMTBIT_S{16,24}_BE bits 2008-08-25 09:57:14 +02:00
arm ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
core sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
drivers ALSA: dummy driver - do not use assignment in if condition 2008-08-15 12:59:02 +02:00
i2c ALSA: revo51: add headphone output 2008-08-25 09:57:17 +02:00
isa ALSA: remove obsolete *_FIRMARE_IN_KERNEL in isa/Kconfig 2008-08-29 10:06:16 +02:00
mips ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
oss sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
parisc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
pci ALSA: hda - Add support of Toshiba RX1 2008-08-29 10:06:20 +02:00
pcmcia ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
ppc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
sh ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
soc ALSA: ASoC: Convert DAPM pop time configuration to debugfs 2008-08-29 10:06:14 +02:00
sparc ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
spi sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
synth ALSA: Kill snd_assert() in other places 2008-08-13 11:46:40 +02:00
usb ALSA: usb-audio - Add ignore_ctl_error parameter 2008-08-15 11:48:01 +02:00
ac97_bus.c [ALSA] ac97_bus power management 2007-02-09 09:03:54 +01:00
Kconfig sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
last.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
sound_core.c sound: make OSS sound core optional 2008-08-29 10:06:21 +02:00
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00