mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-11-01 09:13:37 +00:00 
			
		
		
		
	This patch enables the automatic conversion of UMP events from/to the legacy ALSA sequencer MIDI events. Also, as UMP itself has two different modes (MIDI 1.0 and MIDI 2.0), yet another converters between them are needed, too. Namely, we have conversions between the legacy and UMP like: - seq legacy event -> seq UMP MIDI 1.0 event - seq legacy event -> seq UMP MIDI 2.0 event - seq UMP MIDI 1.0 event -> seq legacy event - seq UMP MIDI 2.0 event -> seq legacy event and the conversions between UMP MIDI 1.0 and 2.0 clients like: - seq UMP MIDI 1.0 event -> seq UMP MIDI 2.0 event - seq UMP MIDI 2.0 event -> seq UMP MIDI 1.0 event The translation is per best-effort; some MIDI 2.0 specific events are ignored when translated to MIDI 1.0. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20230523075358.9672-31-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
		
			
				
	
	
		
			72 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			72 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0-only
 | 
						|
config SND_SEQUENCER
 | 
						|
	tristate "Sequencer support"
 | 
						|
	select SND_TIMER
 | 
						|
	select SND_SEQ_DEVICE
 | 
						|
	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.
 | 
						|
 | 
						|
	  Many programs require this feature, so you should enable it
 | 
						|
	  unless you know what you're doing.
 | 
						|
 | 
						|
if SND_SEQUENCER
 | 
						|
 | 
						|
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.
 | 
						|
 | 
						|
	  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
 | 
						|
	tristate
 | 
						|
 | 
						|
config SND_SEQ_MIDI
 | 
						|
	def_tristate SND_RAWMIDI
 | 
						|
	select SND_SEQ_MIDI_EVENT
 | 
						|
 | 
						|
config SND_SEQ_MIDI_EMUL
 | 
						|
	tristate
 | 
						|
 | 
						|
config SND_SEQ_VIRMIDI
 | 
						|
	tristate
 | 
						|
 | 
						|
config SND_SEQ_UMP
 | 
						|
	bool "Support for UMP events"
 | 
						|
	help
 | 
						|
	  Say Y here to enable the support for handling UMP (Universal MIDI
 | 
						|
	  Packet) events via ALSA sequencer infrastructure, which is an
 | 
						|
	  essential feature for enabling MIDI 2.0 support.
 | 
						|
	  It includes the automatic conversion of ALSA sequencer events
 | 
						|
	  among legacy and UMP clients.
 | 
						|
 | 
						|
endif # SND_SEQUENCER
 |