ump: Add helpers to parse / set UMP packet data

This patch defines the structs / unions that can be used for encoding
and decoding UMP packets, as well as inline helper functions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2022-11-29 16:30:47 +01:00
parent 81b0cf46d1
commit 040356ecf0
4 changed files with 575 additions and 1 deletions

View file

@ -1,6 +1,7 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
#include "rawmidi.h"
#include "ump.h"
#include "ump_msg.h"
struct _snd_ump {
snd_rawmidi_t *rawmidi;