X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Fafh_recv.m4;h=28a0a9ea09ef7204256beaf254f5d0e200653966;hp=4995e77f187f2886f59be5287a511335f250c8a3;hb=5e8d8a8eea6de9459ebdf4498f9f061c84bfa63a;hpb=618a25011420f434f05305a4053a49824d39b4a2 diff --git a/m4/gengetopt/afh_recv.m4 b/m4/gengetopt/afh_recv.m4 index 4995e77f..28a0a9ea 100644 --- a/m4/gengetopt/afh_recv.m4 +++ b/m4/gengetopt/afh_recv.m4 @@ -1,6 +1,8 @@ -include(header.m4) - -text " +args "--no-version --no-help" + +purpose "Make an audio stream from a local file" + +description " The afh (audio format handler) receiver can be used to write selected parts of the given audio file without decoding the data. @@ -8,9 +10,10 @@ text " The selected parts of the content of the audio file are passed to the child nodes of the buffer tree. Only complete chunks with respect of the underlying audio format are passed. - " +include(header.m4) + option "filename" f #~~~~~~~~~~~~~~~~~~ "file to open" @@ -19,19 +22,19 @@ required option "begin-chunk" b #~~~~~~~~~~~~~~~~~~~~~ -"skip a number of chunks" +"skip the beginning of the file" int typestr = "chunk_num" default = "0" optional details = " The chunk_num argument must be between -num_chunks and - num_chunks - 1 inclusively where num_chunks is the total number - of chunks which is printed when using the --info option. If - chunk_num is negative, the given number of chunks are counted - backwards from the end of the file. For example --begin_chunk - -100 instructs para_afh to start output at chunk num_chunks - - 100. This is mainly useful for cutting off the end of an - audio file. + num_chunks - 1, inclusively, where num_chunks is the total + number of chunks of the audio file given by the argument to + --filename. If chunk_num is negative, the given number of + chunks are counted backwards from the end of the file. For + example --begin-chunk -100 instructs the afh receiver to + start output at chunk num_chunks - 100. This is useful for + selecting the last part of an audio file. " option "end-chunk" e @@ -40,7 +43,7 @@ option "end-chunk" e int typestr = "chunk_num" optional details = " - For the chunk_num argument the same rules as for --begin_chunk + For the chunk_num argument the same rules as for --begin-chunk apply. The default is to write up to the last chunk. "