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; diff --git a/doc/build.md b/doc/build.md index 4bacb2d5..e8686074 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: diff --git a/doc/player_setup.md b/doc/player_setup.md index 6fd0dfde..88028381 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 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: 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` -