mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
alsa: remove UMP flag from control format
Don't set the UMP type flag on the format. Use the negotiated types flag to decide what format to output. Add support for output to old style midi. Set the UMP type flag only on the new mixer and JACK when UMP is enabled. This ensures that only new (or explicitly requesting) apps get UMP and old apps receive old midi. This makes JACK running on 1.2 in flatpaks work with midi again.
This commit is contained in:
parent
76db05a0f8
commit
06941f7315
6 changed files with 157 additions and 77 deletions
|
|
@ -80,7 +80,10 @@ struct seq_port {
|
|||
struct buffer *buffer;
|
||||
struct spa_pod_builder builder;
|
||||
struct spa_pod_frame frame;
|
||||
uint32_t ev_offset;
|
||||
uint64_t ump_state;
|
||||
|
||||
uint32_t control_types;
|
||||
struct spa_audio_info current_format;
|
||||
unsigned int have_format:1;
|
||||
unsigned int valid:1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue