From 6bb0a807c676366446f3f54dd8b121c01a5f190f Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Wed, 25 May 2022 19:33:26 +0200 Subject: Listen to any ip and not a defined list --- board/pulseaudio.sh | 8 ++++++-- 1 file 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 -- cgit v1.2.3