Skip to content
This repository was archived by the owner on Apr 17, 2024. It is now read-only.

Commit aaed93d

Browse files
Load bluetooth pulseaudio modules
1 parent 3172fb5 commit aaed93d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bin/sof-setup-audio

+14
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,20 @@ sudo tee /etc/pulse/default.pa <<EOF
8181
# Accept clients
8282
load-module module-native-protocol-unix
8383
84+
# Automatically switch to USB/BT devices
85+
.ifexists module-switch-on-connect.so
86+
load-module module-switch-on-connect
87+
.endif
88+
89+
# Automatically load driver modules for Bluetooth hardware
90+
.ifexists module-bluetooth-policy.so
91+
load-module module-bluetooth-policy
92+
.endif
93+
94+
.ifexists module-bluetooth-discover.so
95+
load-module module-bluetooth-discover
96+
.endif
97+
8498
.nofail
8599
EOF
86100

0 commit comments

Comments
 (0)