X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Fwrite.m4;h=8b13f457a1480a3f430b31c478d5237ae9a0ba61;hp=524d72484a7757000a320934e56b2d1ff1ce49d9;hb=042767ce4032ee7bec7df1716411a175259cfbf1;hpb=2829202e393e4b0095d62739910ae56f04e83326 diff --git a/m4/gengetopt/write.m4 b/m4/gengetopt/write.m4 index 524d7248..8b13f457 100644 --- a/m4/gengetopt/write.m4 +++ b/m4/gengetopt/write.m4 @@ -1,3 +1,7 @@ +args "--no-handle-help --no-handle-version" + +purpose "Play wav or raw audio." + include(header.m4) include(loglevel.m4) @@ -13,31 +17,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)