pipewire/pipewire-jack
Nedko Arnaudov 7c5b5d12ed pipewire-jack: fix jack_port_type_id() to return jack1/jack2 compatible values
pipewire-jack defines TYPE_ID_VIDEO=1 between audio and MIDI, shifting
TYPE_ID_MIDI to 2. This caused jack_port_type_id() to return 2 for MIDI
ports, breaking compatibility with jack1/jack2 which return 1.

The jack_port_type_id() return value is part of the public JACK API and
consumers such as jackdbus rely on the conventional values established
by jack1/jack2: 0 for audio, 1 for MIDI.

Map internal TYPE_ID_* values to their jack1/jack2 compatible equivalents
before returning. All MIDI variants (MIDI, OSC, UMP) map to 1. Video has
no jack1/jack2 equivalent so maps to 3, beyond the conventional range.
2026-03-12 09:55:15 +01:00
..
examples pipewire-jack: examples: video-dsp-play: add missing includes 2025-02-02 14:25:08 +01:00
jack jack: use a new JackPortIsMIDI2 flag 2025-01-27 13:05:21 +01:00
src pipewire-jack: fix jack_port_type_id() to return jack1/jack2 compatible values 2026-03-12 09:55:15 +01:00
meson.build [Meson] Change jack-devel option to be boolean 2021-08-06 07:56:16 +00:00