ALSA: seq: ump: Handle FB info update
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2023 08:10:50 +0000 (10:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jun 2023 16:22:31 +0000 (18:22 +0200)
commit4a16a3af05712e7fd5a205f34e2908055bd9fb5e
tree470ccb8290d224d4f2b3ac559985c09b69bcd0a1
parent5437ac9bad639bb9112e1a749acbe4a143562cdc
ALSA: seq: ump: Handle FB info update

This patch implements the handling of the dynamic update of FB info.

When the FB info update is received after the initial parsing, it
means the dynamic FB info update.  We compare the result, and if the
actual update is detected, it's notified via a new ops,
notify_fb_change, to the sequencer client, and the corresponding
sequencer ports are updated accordingly.

Link: https://lore.kernel.org/r/20230612081054.17200-7-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