User scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
219 B

#!/bin/sh
# 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}
done