pipewire/spa/plugins/bluez5
Martin Geier 32fe4dbda3 bluez: introduce media.min-latency-ms for media source
Target number of samples stored in buffer is calculated by
target = SPA_CLAMP(SPA_ROUND_UP(SPA_MAX(spike * 3/2, duration),
		SPA_CLAMP((int)this->rate / 50, 1, INT32_MAX)),
			duration, max_buf - 2*packet_size);
At beginning of the playback is spike == 0, so the target is set to
duration. Our BT is not able to maintain such low latency and drops
so spike is increased. This can happens multiple times until playback
is stable.

This strategy causes few dropouts at the beginning of a new playback,
in my case on each new track.

Add min-latency-ms property to reduces spikes and the likelihood of
dropouts at the beginning.
2026-06-11 20:34:22 +02:00
..
g722
a2dp-codec-aac.c bluez5: avoid heap overflow in AAC decoder 2026-05-08 13:01:03 +02:00
a2dp-codec-aptx.c
a2dp-codec-caps.h
a2dp-codec-faststream.c
a2dp-codec-lc3plus.c bluez5: lc3plus: add missing #include 2026-05-05 16:20:34 +00:00
a2dp-codec-ldac.c
a2dp-codec-opus-g.c
a2dp-codec-opus.c
a2dp-codec-sbc.c
asha-codec-g722.c
backend-hsphfpd.c bluez5: fix wrong use of send_with_reply in HFP backends 2026-05-05 16:20:34 +00:00
backend-native.c bluez5: fix wrong use of F_GETFL and F_SETFL 2026-05-06 12:22:39 +02:00
backend-ofono.c bluez5: fix wrong use of send_with_reply in HFP backends 2026-05-05 16:20:34 +00:00
bap-codec-caps.h bluez5: bap: Advertise ASCS properties 2026-05-11 08:14:14 +00:00
bap-codec-lc3.c
bluez-hardware.conf
bluez5-dbus.c bluez5: bap: Add bluez5.bap-server.ascs-announcement property 2026-05-11 08:14:14 +00:00
bluez5-device.c fix some compilation problems 2026-05-11 11:59:54 +02:00
bt-latency.h
codec-loader.c
codec-loader.h
dbus-monitor.c
dbus-monitor.h
decode-buffer.h bluez: introduce media.min-latency-ms for media source 2026-06-11 20:34:22 +02:00
defs.h bluez5: bap: Advertise ASCS properties 2026-05-11 08:14:14 +00:00
hci.c
hfp-codec-caps.h
hfp-codec-cvsd.c
hfp-codec-lc3-a127.c
hfp-codec-lc3-swb.c
hfp-codec-msbc.c
hfp-h2.h
iso-io.c
iso-io.h
media-codecs.c
media-codecs.h
media-sink.c fix some compilation problems 2026-05-11 11:59:54 +02:00
media-source.c bluez: introduce media.min-latency-ms for media source 2026-06-11 20:34:22 +02:00
meson.build
midi-enum.c
midi-node.c plugins: handle some fd allocation errors 2026-05-05 11:36:45 +02:00
midi-parser.c
midi-server.c security: add missing NULL check after strdup in MIDI server 2026-04-29 11:36:53 +02:00
midi.h
modemmanager.c security: add missing NULL checks after strdup in modemmanager 2026-04-29 11:34:37 +02:00
modemmanager.h
org.bluez.xml
player.c
player.h
plc.h
plugin.c
quirks.c
rate-control.h
README-MIDI.md
README-OPUS-A2DP.md
README-SBC-XQ.md
README-Telephony.md
rtp.h
sco-io.c
telephony.c
telephony.h
test-midi.c
upower.c
upower.h