X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Fwrite.m4;h=83e8bcabf4ccbfe642e39d8ab07eaa7371427943;hp=325ce58d906b798595f53727c1d0d56ddaf1bee0;hb=42ddd68159d7eff0f3e7c225665c97f9abd59425;hpb=dddf554290fd65bd55b2b4d2cd796147d6df4712 diff --git a/m4/gengetopt/write.m4 b/m4/gengetopt/write.m4 index 325ce58d..83e8bcab 100644 --- a/m4/gengetopt/write.m4 +++ b/m4/gengetopt/write.m4 @@ -1,4 +1,6 @@ -args "--no-handle-help" +args "--no-handle-help --no-handle-version" + +purpose "Play wav or raw audio" include(header.m4) include(loglevel.m4) @@ -15,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)