Browse Source

update port latency for pipewire

master
Guillaume Castagnino 11 months ago
parent
commit
5aaaa39460
  1. 5
      bluetooth-port-latency.sh

5
bluetooth-port-latency.sh

@ -1,6 +1,9 @@
#!/bin/sh
latency=${1:-160000}
# pulseaudio
#latency=${1:-160000}
# pipewire
latency=${1:-80000}
for bz in $(pactl list cards short | egrep -o bluez.*[[:space:]]); do
pactl set-port-latency-offset ${bz} headset-output ${latency}

Loading…
Cancel
Save