Switch to unified view

a/doc/sc2mpd.txt b/doc/sc2mpd.txt
...
...
134
134
135
However, you can set a number of values in the upmpdcli configuration file
135
However, you can set a number of values in the upmpdcli configuration file
136
(you *must* set the *upmpdcli* `-c` option for *sc2mpd* to see them, the
136
(you *must* set the *upmpdcli* `-c` option for *sc2mpd* to see them, the
137
environment variable will not work):
137
environment variable will not work):
138
138
139
sclogfilename:: 
140
Name of the file which will receive *sc2mpd* log messages. `stderr` by
141
default. This _can't be_ the same file used by *upmpdcli*.
142
143
scloglevel:: 
144
Log verbosity.  
145
139
scplaymethod:: 
146
scplaymethod:: 
140
This decides how audio is played, with 2 possible
147
Used by *upmpdcli* and *sc2mpd*.  This decides how audio is played, with 2
141
values, _`alsa`_ or _`mpd`_. Using _`mpd`_ is somewhat easier, but
148
possible values, _`alsa`_ or _`mpd`_. Using _`mpd`_ is somewhat easier, but
142
unusable in link:scmulti.html[multi-room] configurations, and you risk
149
unusable in link:scmulti.html[multi-room] configurations, and you risk
143
small drops even in single-player settings.
150
small drops even in single-player settings.
144
151
145
scalsadevice:: 
152
scalsadevice:: 
146
If the _`alsa`_ method is set, the `scalsadevice`
153
If the _`alsa`_ method is set, the `scalsadevice`
147
parameter defines the interface name. Use `aplay -L` to find the
154
parameter defines the interface name. Use `aplay -L` to find the
148
appropriate name. Also check that user _`upmpdcli`_ belongs to the
155
appropriate name. Also check that user _`upmpdcli`_ belongs to the
149
_`audio`_ group.
156
_`audio`_ group.
150
157
151
sclogfilename:: 
158
sccvttype::
152
Name of the file which will receive *sc2mpd* log messages. `stderr` by
159
If the _`alsa`_ play method is used, this defines the libsamplerate
153
default. This _can't be_ the same file used by *upmpdcli*.
160
converter type. See http://www.mega-nerd.com/SRC/api_misc.html#Converters.
154
161
The default is to use SRC_CVT_FASTEST, resulting in around 24% CPU usage
155
scloglevel:: 
162
for sc2mpd processing a 16 bits stream on a Raspberry Pi 1. The value can
156
Log verbosity.  
163
be specified either as a string (e.g SRC_SINC_FASTEST), or a value (e.g 2).
157
164
158
schttpport:: 
165
schttpport:: 
159
If the _`mpd`_ method is set, this defines the HTTP port used by *mpd* to
166
If the _`mpd`_ method is set, this defines the HTTP port used by *mpd* to
160
connect to *sc2mpd*. 8768 by default. This must be an available port on
167
connect to *sc2mpd*. 8768 by default. This must be an available port on
161
`localhost`, and it will only accept connections from `localhost`.
168
`localhost`, and it will only accept connections from `localhost`.
162
169
163
sc2mpd:: 
170
sc2mpd:: 
164
Path for the *sc2mpd* executable file (e.g. `/usr/local/bin/sc2mpd`). Only
171
Used by *upmpdcli*. Path for the *sc2mpd* executable file
165
useful if *sc2mpd* was not installed to a location in the executable $PATH
172
(e.g. `/usr/local/bin/sc2mpd`). Only useful if *sc2mpd* was not installed
166
set for the init scripts. Typically only `/bin` and `/usr/bin` are in
173
to a location in the executable $PATH set for the init scripts. Typically
167
there. This allows *upmpdcli* to find *sc2mpd* if it is not in the standard
174
only `/bin` and `/usr/bin` are in there. This allows *upmpdcli* to find
168
location.
175
*sc2mpd* if it is not in the standard location.
169
176
170
=== On the Sender (Windows/Mac) side
177
=== On the Sender (Windows/Mac) side
171
178
172
I could not get IP multicast to work with WIFI Receivers (the sound drops
179
I could not get IP multicast to work with WIFI Receivers (the sound drops
173
constantly).
180
constantly).