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.
Showing the changes to include/uapi (1 of 3 files). Show all
Unified · Split
| @@ -428,6 +428,7 @@ struct snd_seq_remove_events { · 427 unmodified lines | |||
| 428 | #define SNDRV_SEQ_PORT_CAP_SUBS_WRITE (1<<6) /* allow write subscription */ | 428 | #define SNDRV_SEQ_PORT_CAP_SUBS_WRITE (1<<6) /* allow write subscription */ |
| 429 | #define SNDRV_SEQ_PORT_CAP_NO_EXPORT (1<<7) /* routing not allowed */ | 429 | #define SNDRV_SEQ_PORT_CAP_NO_EXPORT (1<<7) /* routing not allowed */ |
| 430 | #define SNDRV_SEQ_PORT_CAP_INACTIVE (1<<8) /* inactive port */ | 430 | #define SNDRV_SEQ_PORT_CAP_INACTIVE (1<<8) /* inactive port */ |
| 431 | #define SNDRV_SEQ_PORT_CAP_UMP_ENDPOINT (1<<9) /* MIDI 2.0 UMP Endpoint port */ | ||
| 431 | 432 | ||
| 432 | /* port type */ | 433 | /* port type */ |
| 433 | #define SNDRV_SEQ_PORT_TYPE_SPECIFIC (1<<0) /* hardware specific */ | 434 | #define SNDRV_SEQ_PORT_TYPE_SPECIFIC (1<<0) /* hardware specific */ |