OSDN Git Service

ALSA: seq: ump: Notify UMP protocol change to sequencer
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2023 08:10:52 +0000 (10:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2023 16:22:33 +0000 (18:22 +0200)
commit6a8b4800ae54e9ceb8d017bcfb61d04ff0da90f2
tree3c40c2c483e656616d8f93167b1384fc4a714411
parent174a6dfbc17ee9defed4daeeea6061ef34644f02
ALSA: seq: ump: Notify UMP protocol change to sequencer

UMP v1.1 supports the protocol switch via a UMP Stream message.  When
it's received, we need to take care of the midi_version field in the
corresponding sequencer client, too.

This patch introduces a new ops to notify the protocol change to
snd_seq_ump_ops for handling it.

Link: https://lore.kernel.org/r/20230612081054.17200-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/ump.h
sound/core/seq/seq_ump_client.c
sound/core/ump.c