ALSA: seq: ump: Create UMP Endpoint port for broadcast
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:54 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:11:35 +0000 (12:11 +0200)
commit4025f0e627e127c79d372c6227b9a200406329f9
tree204934494a29a2b3589b4bb193a79b27bba40488
parent81fd444aa371261cd33f31d4ffd80faeeeab0cc9
ALSA: seq: ump: Create UMP Endpoint port for broadcast

Create a sequencer port for broadcasting the all group inputs at the
port number 0.  This corresponds to a UMP Endpoint connection;
application can read all UMP events from this port no matter which
group the UMP packet belongs to.

Unlike seq ports for other UMP groups, a UMP Endpoint port has no
SND_SEQ_PORT_TYPE_MIDI_GENERIC bit, so that it won't be treated as a
normal MIDI 1.0 device from legacy applications.

The port is named as "MIDI 2.0" to align with representations on other
operation systems.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-34-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_ump_client.c