aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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