linux/sound/drivers/opl3
Takashi Iwai 3d774d5ef0 ALSA: seq: Allow the tristate build of OSS emulation
Currently OSS sequencer emulation is tied with ALSA sequencer core,
both are built in the same level; i.e. when CONFIG_SND_SEQUENCER=y,
the OSS sequencer emulation is also always built-in, even though the
functionality can be built as an individual module.

This patch changes the rule and allows users to build snd-seq-oss
module while others are built-in.  Essentially, it's just a few simple
changes in Kconfig and Makefile.  Some driver codes like opl3 need to
convert from the simple ifdef to IS_ENABLED().  But that's all.

You might wonder how about the dependency: right, it can be messy, but
it still works.  Since we rewrote the sequencer binding with the
standard bus, the driver can be bound at any time on demand.  So, the
synthesizer driver module can be loaded individually from the OSS
emulation core before/after it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2017-06-09 22:09:45 +02:00
..
Makefile ALSA: clean up the logic for building sequencer modules 2009-05-29 11:49:42 +02:00
opl3_drums.c
opl3_lib.c ALSA: opl3: don't opencode IS_REACHABLE() 2016-11-12 10:11:36 +01:00
opl3_midi.c ALSA: opl3: small array underflow 2015-03-06 13:04:42 +01:00
opl3_oss.c ALSA: opl3: Kill unused set_fs() 2017-05-17 07:13:12 +02:00
opl3_seq.c ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00
opl3_synth.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
opl3_voice.h ALSA: seq: Allow the tristate build of OSS emulation 2017-06-09 22:09:45 +02:00