forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: seq: Reorganize kconfig and build
This is a slightly intensive rewrite of Kconfig and Makefile about ALSA sequencer stuff. The first major change is that the kconfig items for the sequencer are moved to sound/core/seq/Kconfig. OK, that's easy. The substantial change is that, instead of hackish top-level module selection in Makefile, we define a Kconfig item for each sequencer module. The driver that requires such sequencer components select exclusively the kconfig items. This is more straightforward and standard way. Signed-off-by: Takashi Iwai <[email protected]>
- Loading branch information
Showing
6 changed files
with
86 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,62 @@ | ||
# define SND_XXX_SEQ to min(SND_SEQUENCER,SND_XXX) | ||
config SND_SEQUENCER | ||
tristate "Sequencer support" | ||
select SND_TIMER | ||
help | ||
Say Y or M to enable MIDI sequencer and router support. This | ||
feature allows routing and enqueueing of MIDI events. Events | ||
can be processed at a given time. | ||
|
||
config SND_RAWMIDI_SEQ | ||
def_tristate SND_SEQUENCER && SND_RAWMIDI | ||
Many programs require this feature, so you should enable it | ||
unless you know what you're doing. | ||
|
||
config SND_OPL3_LIB_SEQ | ||
def_tristate SND_SEQUENCER && SND_OPL3_LIB | ||
if SND_SEQUENCER | ||
|
||
config SND_OPL4_LIB_SEQ | ||
def_tristate SND_SEQUENCER && SND_OPL4_LIB | ||
config SND_SEQ_DUMMY | ||
tristate "Sequencer dummy client" | ||
help | ||
Say Y here to enable the dummy sequencer client. This client | ||
is a simple MIDI-through client: all normal input events are | ||
redirected to the output port immediately. | ||
|
||
config SND_SBAWE_SEQ | ||
def_tristate SND_SEQUENCER && SND_SBAWE | ||
You don't need this unless you want to connect many MIDI | ||
devices or applications together. | ||
|
||
To compile this driver as a module, choose M here: the module | ||
will be called snd-seq-dummy. | ||
|
||
config SND_SEQUENCER_OSS | ||
tristate "OSS Sequencer API" | ||
depends on SND_OSSEMUL | ||
select SND_SEQ_MIDI_EVENT | ||
help | ||
Say Y here to enable OSS sequencer emulation (both | ||
/dev/sequencer and /dev/music interfaces). | ||
|
||
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-seq-oss. | ||
|
||
config SND_SEQ_HRTIMER_DEFAULT | ||
bool "Use HR-timer as default sequencer timer" | ||
depends on SND_HRTIMER | ||
default y | ||
help | ||
Say Y here to use the HR-timer backend as the default sequencer | ||
timer. | ||
|
||
config SND_SEQ_MIDI_EVENT | ||
def_tristate SND_RAWMIDI | ||
|
||
config SND_SEQ_MIDI | ||
tristate | ||
select SND_SEQ_MIDI_EVENT | ||
|
||
config SND_SEQ_MIDI_EMUL | ||
tristate | ||
|
||
config SND_SEQ_VIRMIDI | ||
tristate | ||
|
||
endif # SND_SEQUENCER | ||
|
||
config SND_EMU10K1_SEQ | ||
def_tristate SND_SEQUENCER && SND_EMU10K1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters