From: John Melton - G0ORX/N6LYT Date: Tue, 6 Sep 2016 17:03:48 +0000 (+0000) Subject: added script to setup pulseaudio and updated install document X-Git-Url: https://git.rkrishnan.org/components/-?a=commitdiff_plain;h=fa92f045fe2a493010091156c33d606cb96765c6;p=pihpsdr.git added script to setup pulseaudio and updated install document --- diff --git a/release/documentation/pihpsdr-install.odt b/release/documentation/pihpsdr-install.odt index 24b889c..14e5f94 100644 Binary files a/release/documentation/pihpsdr-install.odt and b/release/documentation/pihpsdr-install.odt differ diff --git a/release/documentation/pihpsdr-install.pdf b/release/documentation/pihpsdr-install.pdf index 9e5a6bc..18d7bde 100644 Binary files a/release/documentation/pihpsdr-install.pdf and b/release/documentation/pihpsdr-install.pdf differ diff --git a/release/pihpsdr.tar b/release/pihpsdr.tar index b29b512..5b26589 100644 Binary files a/release/pihpsdr.tar and b/release/pihpsdr.tar differ diff --git a/release/pihpsdr/pulseaudio.service b/release/pihpsdr/pulseaudio.service new file mode 100644 index 0000000..bafe34b --- /dev/null +++ b/release/pihpsdr/pulseaudio.service @@ -0,0 +1,11 @@ +[Unit] +Description=PulseAudio Daemon + +[Install] +WantedBy=multi-user.target + +[Service] +Type=simple +PrivateTmp=true +ExecStart=/usr/bin/pulseaudio --system --realtime --disallow-exit --no-cpu-limit + diff --git a/release/pihpsdr/pulseaudio.sh b/release/pihpsdr/pulseaudio.sh new file mode 100755 index 0000000..7581360 --- /dev/null +++ b/release/pihpsdr/pulseaudio.sh @@ -0,0 +1,7 @@ +sudo usermod -a -G pulse-access pi +sudo usermod -a -G audio root +sudo usermod -a -G pulse root +sudo usermod -a -G pulse-access root +sudo cp pulseaudio.service /etc/systemd/system +sudo systemctl --system enable pulseaudio.service +sudo systemctl --system start pulseaudio.service