History

ALSA: seq: Support MIDI 2.0 UMP Endpoint port

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.

Takashi Iwai committed 3 years ago

Commit 177ccf81 parent 74661933 files · +41 −8Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/sound/asequencer.h+1−0
@@ -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 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t