aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2022-05-25 19:33:26 +0200
committerSébastien Dailly <sebastien@dailly.me>2022-05-25 19:33:26 +0200
commit6bb0a807c676366446f3f54dd8b121c01a5f190f (patch)
tree76443326ff32f8a959a124815181b457c8a1e29a
parent1821c1b2ad3366d5eabd52f7ba96d460d94fe7d3 (diff)
Listen to any ip and not a defined list
-rw-r--r--board/pulseaudio.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/board/pulseaudio.sh b/board/pulseaudio.sh
index 8b1186c..a789bc9 100644
--- a/board/pulseaudio.sh
+++ b/board/pulseaudio.sh
@@ -16,8 +16,12 @@ if ! grep -qE '^load-module module-native-protocol-tcp' "${TARGET_DIR}/etc/pulse
cat << __EOF__ >> "${TARGET_DIR}/etc/pulse/system.pa"
load-module module-bluetooth-policy
load-module module-bluetooth-discover
-load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/24;2a01:e35:8ac8:0e00::/64 auth-anonymous=1
+load-module module-native-protocol-tcp listen=0.0.0.0 auth-anonymous=1
__EOF__
fi
-
+if ! grep -qE 'avoid-resampling = true' "${TARGET_DIR}/etc/pulse/daemon.conf"; then
+ cat << __EOF__ >> "${TARGET_DIR}/etc/pulse/daemon.conf"
+avoid-resampling = true
+__EOF__
+fi