]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Sync UAPI asequencer.h with 6.14 kernel
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Jan 2025 14:07:23 +0000 (15:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 14 Jan 2025 15:44:47 +0000 (16:44 +0100)
There are the new event types for UMP EP and FB notifications as well
as the new struct for them.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/uapi/asequencer.h

index bd3c7a317f243bf058651953ec3b0dfb94c672ef..9682795bba8780d666b2d7bd4527cd01dd94576f 100644 (file)
@@ -10,7 +10,7 @@
 #include <sound/asound.h>
 
 /** version of the sequencer */
-#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 4)
+#define SNDRV_SEQ_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 5)
 
 /**
  * definition of sequencer event types
@@ -92,6 +92,9 @@
 #define SNDRV_SEQ_EVENT_PORT_SUBSCRIBED        66      /* ports connected */
 #define SNDRV_SEQ_EVENT_PORT_UNSUBSCRIBED 67   /* ports disconnected */
 
+#define SNDRV_SEQ_EVENT_UMP_EP_CHANGE  68      /* UMP EP info has changed */
+#define SNDRV_SEQ_EVENT_UMP_BLOCK_CHANGE 69    /* UMP block info has changed */
+
 /* 70-89:  synthesizer events - obsoleted */
 
 /** user-defined events with fixed length
@@ -253,6 +256,12 @@ struct snd_seq_ev_quote {
        struct snd_seq_event *event;            /* quoted event */
 } __attribute__((packed));
 
+       /* UMP info change notify */
+struct snd_seq_ev_ump_notify {
+       unsigned char client;   /* Client number */
+       unsigned char block;    /* Block number (optional) */
+};
+
 union snd_seq_event_data { /* event data... */
        struct snd_seq_ev_note note;
        struct snd_seq_ev_ctrl control;
@@ -265,6 +274,7 @@ union snd_seq_event_data { /* event data... */
        struct snd_seq_connect connect;
        struct snd_seq_result result;
        struct snd_seq_ev_quote quote;
+       struct snd_seq_ev_ump_notify ump_notify;
 };
 
        /* sequencer event */