enhance script
This commit is contained in:
parent
f7900b7308
commit
a2614bffc3
|
@ -1,3 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
pactl set-port-latency-offset $(pactl list cards short | egrep -o bluez.*[[:space:]]) headset-output 150000
|
||||
latency=${1:-160000}
|
||||
|
||||
for bz in $(pactl list cards short | egrep -o bluez.*[[:space:]]); do
|
||||
pactl set-port-latency-offset ${bz} headset-output ${latency}
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue