OSDN Git Service

ALSA: seq: Support MIDI 2.0 UMP Endpoint port
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 07:53:48 +0000 (09:53 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 May 2023 10:11:24 +0000 (12:11 +0200)
commit177ccf811df4a893df339a72dc732bb26b66d055
treed27eda87207fd6e0e810a6ca25df25d7fe02241f
parent74661932ac5ecb12e4378f41083be6ac17804e71
ALSA: seq: Support MIDI 2.0 UMP Endpoint port

This is an extension to ALSA sequencer infrastructure to support the
MIDI 2.0 UMP Endpoint port.  It's a "catch-all" port that is supposed
to be present for each UMP Endpoint.  When this port is read via
subscription, it sends any events from all ports (UMP Groups) found in
the same client.

A UMP Endpoint port can be created with the new capability bit
SNDRV_SEQ_PORT_CAP_UMP_ENDPOINT.  Although the port assignment isn't
strictly defined, it should be the port number 0.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20230523075358.9672-28-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/asequencer.h
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.h