History

ALSA: ump: Add info flag bit for static blocks

UMP v1.1 spec allows to inform whether the function blocks are static and not dynamically updated. Add a new flag bit to snd_ump_endpoint_info to reflect that attribute, too. The flag is set when a USB MIDI device is still in the old MIDI 2.0 without UMP 1.1 support. Then the driver falls back to GTBs, and they are supposed to be static-only.

Takashi Iwai committed 3 years ago

Commit 01dfa8e1 parent 6a8b4803 files · +16 −0Browse files

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

Unified · Split

include/uapi/sound/asound.h+3−0
@@ -780,6 +780,9 @@ struct snd_rawmidi_status { · 779 unmodified lines
780780 };
781781 #endif
782782
783+/* UMP EP info flags */
784+#define SNDRV_UMP_EP_INFO_STATIC_BLOCKS 0x01
785+
783786 /* UMP EP Protocol / JRTS capability bits */
784787 #define SNDRV_UMP_EP_INFO_PROTO_MIDI_MASK 0x0300
785788 #define SNDRV_UMP_EP_INFO_PROTO_MIDI1 0x0100 /* MIDI 1.0 */

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