mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
Update README.md
This commit is contained in:
parent
bfc04ffde2
commit
77b781c6a8
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -63,6 +63,14 @@ Install missing dependencies:
|
|||
|
||||
$ sudo apt-get -f install
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
After installation, Snapserver and Snapclient are started with the command line arguments, that are configured in `/etc/default/snapserver` and `/etc/default/snapclient`.
|
||||
Allowed options are listed in the man pages (`man snapserver`, `man snapclient`) or by invoking the snapserver or snapclient with the `-h` option.
|
||||
|
||||
Different streams can by configured with a list of `-s` options, e.g.:
|
||||
|
||||
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=Radio&sampleformat=48000:16:2&codec=flac -s file:///home/johannes/Musik/Some%20wave%20file.wav?name=File"
|
||||
|
||||
Test
|
||||
----
|
||||
|
@ -71,6 +79,10 @@ You can test your installation by copying random data into the server's fifo fil
|
|||
$ sudo cat /dev/urandom > /tmp/snapfifo
|
||||
|
||||
All connected clients should play random noise now. You might raise the client's volume with "alsamixer".
|
||||
It's also possible to let the server play a wave file. Simply configure a `file` stream in `/etc/default/snapserver`, and restart the server:
|
||||
|
||||
SNAPSERVER_OPTS="-d -s file:///home/johannes/Musik/Some%20wave%20file.wav?name=test"
|
||||
|
||||
When you are using a Raspberry pi, you might have to change your audio output to the 3.5mm jack:
|
||||
|
||||
#The last number is the audio output with 1 being the 3.5 jack, 2 being HDMI and 0 being auto.
|
||||
|
|
Loading…
Add table
Reference in a new issue