11 lines
219 B
Bash
Executable file
11 lines
219 B
Bash
Executable file
#!/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
|