spa: alsa: support also MIDI-1.0 IO for ALSA seq

Support also non-UMP IO with ALSA seq, in case either alsa-lib or the
kernel does not have UMP enabled.

Add configuration option "api.alsa.seq.ump" for optionally turning UMP
I/O off, for easier debugging.
This commit is contained in:
Pauli Virtanen 2025-03-09 19:38:01 +02:00 committed by P V
parent 6620c6cde1
commit 4379cf446f
3 changed files with 163 additions and 85 deletions

View file

@ -155,6 +155,7 @@ struct seq_state {
unsigned int opened:1;
unsigned int started:1;
unsigned int following:1;
unsigned int ump:1;
struct seq_stream streams[2];