From 21e1081440ffb32f11c26459ae8e2e491912aaf5 Mon Sep 17 00:00:00 2001 From: Peter Steenbergen Date: Fri, 15 Nov 2019 14:37:59 +0100 Subject: [PATCH] MycroftOS: Enabling avahi zero conf of pulseaudio --- buildroot-external/configs/mycroftos_rpi3_defconfig | 2 +- .../rootfs-overlay/etc/pulse/pulseaudio-default.pa | 1 + .../rootfs-overlay/etc/pulse/pulseaudio-system.pa | 2 +- .../rootfs-overlay/etc/pulse/seeed-voicecard-4mic-default.pa | 2 +- .../rootfs-overlay/etc/pulse/seeed-voicecard-8mic-default.pa | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/buildroot-external/configs/mycroftos_rpi3_defconfig b/buildroot-external/configs/mycroftos_rpi3_defconfig index 6989438b..035383ca 100644 --- a/buildroot-external/configs/mycroftos_rpi3_defconfig +++ b/buildroot-external/configs/mycroftos_rpi3_defconfig @@ -238,7 +238,6 @@ BR2_PACKAGE_CURL=y BR2_PACKAGE_LIBHTTPPARSER=y BR2_PACKAGE_LIBTIRPC=y BR2_PACKAGE_NGHTTP2=y -BR2_PACKAGE_LIBDAEMON=y BR2_PACKAGE_LIBUV=y BR2_PACKAGE_LIBUNISTRING=y BR2_PACKAGE_NCURSES_WCHAR=y @@ -247,6 +246,7 @@ BR2_PACKAGE_PCRE_16=y BR2_PACKAGE_PCRE_32=y BR2_PACKAGE_PCRE2_16=y BR2_PACKAGE_PCRE2_32=y +BR2_PACKAGE_AVAHI=y BR2_PACKAGE_CRDA=y BR2_PACKAGE_IFUPDOWN=y BR2_PACKAGE_IPTABLES=y diff --git a/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-default.pa b/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-default.pa index 159eb952..667b5400 100644 --- a/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-default.pa +++ b/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-default.pa @@ -76,6 +76,7 @@ load-module module-native-protocol-unix auth-anonymous=1 ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16;172.16.0.0/12;10.0.0.0/8 auth-anonymous=1 +load-module module-zeroconf-publish ### Load the RTP receiver module (also configured via paprefs, see above) #load-module module-rtp-recv diff --git a/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-system.pa b/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-system.pa index 895505b2..4e0c9ffc 100644 --- a/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-system.pa +++ b/buildroot-external/rootfs-overlay/etc/pulse/pulseaudio-system.pa @@ -41,7 +41,7 @@ load-module module-native-protocol-unix auth-anonymous=1 ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16;172.16.0.0/12;10.0.0.0/8 auth-anonymous=1 -#load-module module-zeroconf-publish +load-module module-zeroconf-publish ### Automatically restore the default sink/source when changed by the user ### during runtime diff --git a/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-4mic-default.pa b/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-4mic-default.pa index b2bde10b..706d4c29 100644 --- a/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-4mic-default.pa +++ b/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-4mic-default.pa @@ -77,7 +77,7 @@ load-module module-native-protocol-unix auth-anonymous=1 ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16;172.16.0.0/12;10.0.0.0/8 auth-anonymous=1 -#load-module module-zeroconf-publish +load-module module-zeroconf-publish ### Load the RTP receiver module (also configured via paprefs, see above) #load-module module-rtp-recv diff --git a/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-8mic-default.pa b/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-8mic-default.pa index 9facfb2a..d3330615 100644 --- a/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-8mic-default.pa +++ b/buildroot-external/rootfs-overlay/etc/pulse/seeed-voicecard-8mic-default.pa @@ -77,7 +77,7 @@ load-module module-native-protocol-unix auth-anonymous=1 ### here if you plan to use paprefs) #load-module module-esound-protocol-tcp load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/16;172.16.0.0/12;10.0.0.0/8 auth-anonymous=1 -#load-module module-zeroconf-publish +load-module module-zeroconf-publish ### Load the RTP receiver module (also configured via paprefs, see above) #load-module module-rtp-recv