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

9
src/rawmidi/ump_local.h Normal file
View file

@ -0,0 +1,9 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "rawmidi.h"
#include "ump.h"
struct _snd_ump {
snd_rawmidi_t *rawmidi;
unsigned int flags;
int is_input;
};