mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
alsa: add UMP support
Use the new UMP alsa sequencer API to make it produce UMP packets. Set the alsa sequencer to MIDI2.0, which will make it convert all messages to MIDI-2.0 UMP automatically. We can copy this straight into the control buffers. This also solves some problems with large sysex messages that are now nicely split into chunks with UMP.
This commit is contained in:
parent
7f38653589
commit
94bb5a2dd2
3 changed files with 42 additions and 55 deletions
|
|
@ -13,6 +13,7 @@ extern "C" {
|
|||
#include <math.h>
|
||||
|
||||
#include <alsa/asoundlib.h>
|
||||
#include <alsa/ump_msg.h>
|
||||
|
||||
#include <spa/support/plugin.h>
|
||||
#include <spa/support/loop.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue