pipewire/spa
Pauli Virtanen aa06c547d9 bluez5: align audio output of all BAP sinks
Make BAP nodes align the first sample of their packets at multiples of
the ISO interval, counted in the shared graph sample position.  This
skips a few samples (< 10ms) at the start of playback to ensure the
alignment.

Since the sinks align their flush timing to the graph time, this also
results to them sending packets corresponding to the same graph time at
the same real time instants.

Due to packet queues in kernel/controller, the playback may still be off
by multiples of packets. Kernel changes are needed to address that part.

This works towards making BAP left and right channels to be
synchronized in TWS headsets, where the two earpieces currently appear
as different devices.
2023-03-19 19:18:10 +02:00
..
examples treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
include module-rtp: add opus encoding 2023-03-12 18:40:36 +01:00
plugins bluez5: align audio output of all BAP sinks 2023-03-19 19:18:10 +02:00
tests treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
tools treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
meson.build bluez5: align audio output of all BAP sinks 2023-03-19 19:18:10 +02:00