2 define(CURRENT_PROGRAM,para_audiod)
3 define(DEFAULT_CONFIG_FILE,~/.paraslash/audiod.conf)
6 #########################
7 section "General options"
8 #########################
13 include(config_file.m4)
15 include(log_timing.m4)
21 ########################
22 section "Audiod options"
23 ########################
30 If this flag is not given, para_audiod refuses to start if the
31 well-known socket file (see the --socket option) already exists
32 because this usually means that para_audiod is already running
33 and listening on that socket. After a crash or if para_audiod
34 received a SIGKILL signal, a stale socket file might remain and
35 you have to use --force once to force startup of para_audiod.
45 Para_audiod supports three modes of operation: On, off and
46 standby (sb). This option selects the mode that should be
47 used on startup. If para_audiod operates in \"on\" mode, it
48 will connect to para_server in order to receive its status
49 information. If para_server announces the availability of an
50 audio stream, para_audiod will automatically download, decode
51 and play the audio stream according to the given stream I/O
54 In \"standby\" mode, para_audiod will only receive the
55 status information from para_server but will not download
58 In \"off\" mode, para_audiod does not connect para_server at
59 all, but still listens on the local socket for connections.
65 string typestr="filename"
68 Para_audiod uses a \"well-known\" socket to listen
69 on for connections from para_audioc. This socket is a
70 special file in the file system; its location defaults to
71 /var/paraslash/audiod_sock.<host_name>.
73 para_audioc, the client program used to connect to para_audiod,
74 opens this socket in order to talk to para_audiod. If the
75 default value for para_audiod is changed, para_audioc must be
76 instructed to use also \"filename\" for connecting para_audiod.
87 Allow the user identified by \"uid\" to connect to para_audiod.
88 May be specified multiple times. If not specified at all,
89 all users are allowed to connect.
91 This feature requires unix socket credentials and is currently
92 only supported on Linux systems. On other operating systems,
93 the option is silently ignored and all local users are allowed
94 to connect to para_audiod.
97 option "clock_diff_count" -
98 #~~~~~~~~~~~~~~~~~~~~~~~~~~
99 "sync clock on startup"
104 Check the clock difference between the host running para_server
105 and the local host running para_audiod that many times before
106 starting any stream I/0. Set this to non-zero for non-local
107 setups if the clocks of these two hosts are not syncronized
111 #############################
112 section "Stream I/O options"
113 #############################
118 string typestr="receiver_spec"
123 This option may be given multiple times, once for each
124 supported audio format. The \"receiver_spec\" consists of
125 an audio format and the receiver name, separated by a colon,
126 and any options for that receiver, seperated by whitespace.
127 If any receiver options are present, the whole receiver
128 argument must be quoted.
132 -r 'mp3:http -i my.host.org -p 8009'
135 option "no_default_filters" D
136 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137 "Configure filters manually"
140 If (and only if) this option is set, the --filter options
141 (see below) take effect. Otherwise, the compiled-in defaults
142 apply. These defaults depend on the receiver being used as
145 For http streams, only a single filter per audio format,
146 the decoder for that format, is activated. On the other hand,
147 since udp and dccp streams are sent fec-encoded by para_server,
148 the client side must feed the output of the receiver into
149 the fecdec filter first. Therefore the default for udp and
150 dccp streams is to activate the fecdec filter, followed by
151 the appropriate decoder.
153 You must give this option if you want to use any other filter,
154 for example the amp or the compress filter.
160 "Use non-default filters"
161 string typestr="filter_spec"
164 dependon="no_default_filters"
166 This option may be given multiple times. The \"filter_spec\"
167 consists of an audio format, the name of the filter, and any
168 options for that filter. Note that order matters.
172 --filter 'mp3:mp3dec'
174 --filter 'mp3:compress --inertia 5 --damp 2'
180 "Specify stream writer."
181 string typestr="writer_spec"
185 May be given multiple times, even multiple times for the same
186 audio format. Default value is \"alsa\" for all supported
187 audio formats. Example:
193 option "stream_delay" -
194 #~~~~~~~~~~~~~~~~~~~~~~
195 "time for client sync"
196 int typestr="milliseconds"
200 Add the given amount of milliseconds to the stream start time
201 announced by para_server and do not send data to the writer
202 before that time (modulo clock difference).
204 This is useful mainly for syncronizing the audio output of