X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=m4%2Fgengetopt%2Fwrite.m4;fp=m4%2Fgengetopt%2Fwrite.m4;h=c022bc8f24c83d6ed490cde57159d64b7e571538;hb=d5dc1cb250dfb44d25293e1a01b4c2583df2352a;hp=56698e187839786bdbb86558cc8c1171b945dba9;hpb=c25d04743aad0482a51fe287597434a3bf6f1108;p=paraslash.git diff --git a/m4/gengetopt/write.m4 b/m4/gengetopt/write.m4 index 56698e18..c022bc8f 100644 --- a/m4/gengetopt/write.m4 +++ b/m4/gengetopt/write.m4 @@ -15,31 +15,6 @@ details=" more than once. " -text " - The following options are only necessary for raw audio. When - playing wav files this information is obtained from the - wave header. -" - -option "channels" c -#~~~~~~~~~~~~~~~~~~ -"specify number of channels" -int typestr = "num" -default = "2" -optional - -option "sample-rate" s -#~~~~~~~~~~~~~~~~~~~~~ -"force given sample rate" -int typestr = "num" -default = "44100" -optional - -option "sample-format" f -#~~~~~~~~~~~~~~~~~~~~~~~ -"specify sample format" -# This must match the enum sample_format of para.h -values = "S8", "U8", "S16_LE", "S16_BE", "U16_LE", "U16_BE" enum -default = "S16_LE" -optional - +include(channels.m4) +include(sample_rate.m4) +include(sample_format.m4)