mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-05 18:57:41 +02:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
df7829cd95
3 changed files with 4 additions and 2 deletions
|
@ -25,6 +25,7 @@
|
||||||
#include <syslog.h>
|
#include <syslog.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
int pidFilehandle;
|
int pidFilehandle;
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ For Debian derivates (e.g. Raspbian, Debian, Ubuntu, Mint):
|
||||||
$ sudo apt-get install build-essential
|
$ 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
|
$ 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:
|
For Arch derivates:
|
||||||
|
|
||||||
|
|
|
@ -85,10 +85,11 @@ Redirect the PulseAudio stream into the snapfifo:
|
||||||
|
|
||||||
audio player software -> PulseAudio -> PulsaAudio pipe sink -> snapfifo -> snapserver -> network -> snapclient -> Alsa
|
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:
|
Load the module `pipe-sink` like this:
|
||||||
|
|
||||||
pacmd load-module module-pipe-sink file=/tmp/snapfifo sink_name=Snapcast
|
pacmd load-module module-pipe-sink file=/tmp/snapfifo sink_name=Snapcast
|
||||||
pacmd update-sink-proplist Snapcast device.description=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`
|
It might me neccessary to set the pulse audio latency environment variable to 60 msec: `PULSE_LATENCY_MSEC=60`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue