1 args "--no-version --no-help"
3 purpose "Make an audio stream from a local file"
6 The afh (audio format handler) receiver can be used to write
7 selected parts of the given audio file without decoding
10 The selected parts of the content of the audio file are passed
11 to the child nodes of the buffer tree. Only complete chunks
12 with respect of the underlying audio format are passed.
20 string typestr = "filename"
23 option "begin-chunk" b
24 #~~~~~~~~~~~~~~~~~~~~~
25 "skip the beginning of the file"
26 int typestr = "chunk_num"
30 The chunk_num argument must be between -num_chunks and
31 num_chunks - 1, inclusively, where num_chunks is the total
32 number of chunks of the audio file given by the argument to
33 --filename. If chunk_num is negative, the given number of
34 chunks are counted backwards from the end of the file. For
35 example --begin-chunk -100 instructs the afh receiver to
36 start output at chunk num_chunks - 100. This is useful for
37 selecting the last part of an audio file.
42 "only write up to chunk chunk_num"
43 int typestr = "chunk_num"
46 For the chunk_num argument the same rules as for --begin-chunk
47 apply. The default is to write up to the last chunk.
50 option "just-in-time" j
51 #~~~~~~~~~~~~~~~~~~~~~~
55 Write the specified chunks of data 'just in time', i.e. the
56 write of each chunk is delayed until the time it is needed
57 by the decoder/player in order to guarantee an uninterrupted
58 audio stream. This may be useful for third-party software
59 that is capable of reading from stdin.
64 "do not write an audio file header"
67 If an audio format needs information about the audio file
68 in a format-specific header in order to be understood by
69 the decoding software, a suitable header is automatically
70 send. This option changes the default behaviour, i.e. no