ump: Add initial support

This patch adds the initial support for UMP rawmidi access.
It's merely the wrapper for the standard rawmidi to access to the UMP
rawmidi device.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2022-11-29 16:02:25 +01:00
parent 6627953de0
commit f47763d2c1
10 changed files with 769 additions and 4 deletions

View file

@ -67,3 +67,5 @@ int snd_rawmidi_virtual_open(snd_rawmidi_t **inputp, snd_rawmidi_t **outputp,
int _snd_rawmidi_ump_endpoint_info(snd_rawmidi_t *rmidi, void *info);
int _snd_rawmidi_ump_block_info(snd_rawmidi_t *rmidi, void *info);
#define _SND_RAWMIDI_OPEN_UMP (1U << 16) /* internal open mode bit */