mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
bluez5: implement Bluetooth MIDI nodes
Implement BLE MIDI node, providing an input and output port. MIDI data received is normalized and produced on output port. Data from input port is converted to BLE MIDI and sent to the device. Event timestamps come from device clock, whose offset to wall clock we determine by correlating packet reception times with their timestamps. The jitter in packet reception is likely much larger than device clock error, so we average over that.
This commit is contained in:
parent
fe3ca50818
commit
fe11bfdba0
3 changed files with 1912 additions and 0 deletions
1907
spa/plugins/bluez5/midi-node.c
Normal file
1907
spa/plugins/bluez5/midi-node.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue