pipewire-jack does not support multiple MIDI inputs ports per client.
- PipeWire version (
pipewire --version
): 1.0.3 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux and PostmarketOS - Desktop Environment: Sway
- Kernel version (
uname -r
): 6.7.8
Description of Problem:
Pipewire-jack does not support multiple MIDI input ports per client. Only one MIDI Input ports seems to be supported.
Steps to Reproduce:
- Create a jack client
- Register at least 2 MIDI Input ports on the client
- Connect something to the 2 ports
Actual Results:
- In the
process
callback both MIDI Input ports get the same buffer to read MIDI from (same address returned by jack_port_get_buffer) - Reading MIDI events fails on the buffer, although it says that there are events (jack_midi_get_event_count)ll
Expected Results:
- Each MIDI Input port should get a different buffer (jack_port_get_buffer) to read from
- Reading from the buffer should not fail