diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-06-12 10:10:50 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-06-12 18:22:31 +0200 |
commit | 4a16a3af05712e7fd5a205f34e2908055bd9fb5e (patch) | |
tree | 470ccb8290d224d4f2b3ac559985c09b69bcd0a1 /include/sound | |
parent | 5437ac9bad639bb9112e1a749acbe4a143562cdc (diff) |
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>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/ump.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/ump.h b/include/sound/ump.h index 5b50a2fc0d79..0e9c048346fa 100644 --- a/include/sound/ump.h +++ b/include/sound/ump.h @@ -70,6 +70,8 @@ struct snd_ump_ops { struct snd_seq_ump_ops { void (*input_receive)(struct snd_ump_endpoint *ump, const u32 *data, int words); + int (*notify_fb_change)(struct snd_ump_endpoint *ump, + struct snd_ump_block *fb); }; struct snd_ump_block { |