From 574cf45ff11d693625f353b30de0a39a4971387b Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Sat, 17 Sep 2016 09:11:44 +0200 Subject: [PATCH 1/5] Update build.md --- doc/build.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/build.md b/doc/build.md index 05ee174e..fb06ebce 100644 --- a/doc/build.md +++ b/doc/build.md @@ -30,7 +30,7 @@ For Debian derivates (e.g. Raspbian, Debian, Ubuntu, Mint): $ sudo apt-get install build-essential $ sudo apt-get install libasound2-dev libvorbisidec-dev libvorbis-dev libflac-dev alsa-utils libavahi-client-dev avahi-daemon -Compilation requires gcc 4.8 or higher, so it's highly recommended to use Debian (Respbian) Jessie. +Compilation requires gcc 4.8 or higher, so it's highly recommended to use Debian (Raspbian) Jessie. For Arch derivates: From b9363df3e01437cddcafb0ea8d265d2dbb5e405b Mon Sep 17 00:00:00 2001 From: badaix Date: Sat, 17 Sep 2016 09:21:06 +0200 Subject: [PATCH 2/5] moved popl to v0.2.0 --- externals/popl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/popl b/externals/popl index 59fddc99..0e13baa5 160000 --- a/externals/popl +++ b/externals/popl @@ -1 +1 @@ -Subproject commit 59fddc997e405249708b9d6c9a611eaa8da8e983 +Subproject commit 0e13baa5c3e5c83717d0a0628136ae0f52bd7454 From 96d6b093d4868355fa092d22449696243795cfba Mon Sep 17 00:00:00 2001 From: nimonimonimo Date: Sat, 24 Sep 2016 09:02:16 +0000 Subject: [PATCH 3/5] Added include of stdlib.h in common/daemon.h This was needed for me to be able to make the server on FreeBSD 10.2 --- common/daemon.h | 1 + 1 file changed, 1 insertion(+) diff --git a/common/daemon.h b/common/daemon.h index f01ba07e..43e9dd67 100644 --- a/common/daemon.h +++ b/common/daemon.h @@ -25,6 +25,7 @@ #include #include #include +#include int pidFilehandle; From 819eb45e8dae1511ffdf7e24616a097ba4fb8b56 Mon Sep 17 00:00:00 2001 From: Ioan Loosley Date: Sun, 25 Sep 2016 22:45:02 +0100 Subject: [PATCH 4/5] Added some info about pulse audio --- doc/player_setup.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/player_setup.md b/doc/player_setup.md index 6fd0dfde..6b83ce10 100644 --- a/doc/player_setup.md +++ b/doc/player_setup.md @@ -85,10 +85,11 @@ Redirect the PulseAudio stream into the snapfifo: audio player software -> PulseAudio -> PulsaAudio pipe sink -> snapfifo -> snapserver -> network -> snapclient -> Alsa +Pulseaudio will also want to make the pipe file for its self and will error when attempting to make if it allready exsits, see the config instructions in the main readme file on how to make snapserver only read the file and not make it. + Load the module `pipe-sink` like this: pacmd load-module module-pipe-sink file=/tmp/snapfifo sink_name=Snapcast pacmd update-sink-proplist Snapcast device.description=Snapcast It might me neccessary to set the pulse audio latency environment variable to 60 msec: `PULSE_LATENCY_MSEC=60` - From d67e69358979e13dbff686c12b1f51ff874bd5ca Mon Sep 17 00:00:00 2001 From: Johannes Pohl Date: Tue, 27 Sep 2016 09:02:49 +0200 Subject: [PATCH 5/5] Update player_setup.md --- doc/player_setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/player_setup.md b/doc/player_setup.md index 6b83ce10..88028381 100644 --- a/doc/player_setup.md +++ b/doc/player_setup.md @@ -85,7 +85,7 @@ Redirect the PulseAudio stream into the snapfifo: audio player software -> PulseAudio -> PulsaAudio pipe sink -> snapfifo -> snapserver -> network -> snapclient -> Alsa -Pulseaudio will also want to make the pipe file for its self and will error when attempting to make if it allready exsits, see the config instructions in the main readme file on how to make snapserver only read the file and not make it. +PulseAudio will create the pipe file for itself and will fail if it already exsits, see the [Configuration section](https://github.com/badaix/snapcast#configuration) in the main readme file on how to change the pipe creation mode to read-only. Load the module `pipe-sink` like this: