X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ggo%2Fwrite.m4;h=524d72484a7757000a320934e56b2d1ff1ce49d9;hp=e7faebccf760f80b74a7c69606b018e622a7dcce;hb=c5670af5c1f784fe6c3d46d0281f2ba7c47af75e;hpb=f51e5010bc13a217d1a1140eed74757da36bf6b6 diff --git a/ggo/write.m4 b/ggo/write.m4 index e7faebcc..524d7248 100644 --- a/ggo/write.m4 +++ b/ggo/write.m4 @@ -1,13 +1,5 @@ include(header.m4) include(loglevel.m4) -include(buffer_tree.m4) - -option "bufsize" b -#~~~~~~~~~~~~~~~~~ -"input buffer size" -int typestr="kilobytes" -default="64" -optional option "writer" w #~~~~~~~~~~~~~~~~ @@ -21,12 +13,31 @@ details=" more than once. " -option "start_time" t -#~~~~~~~~~~~~~~~~~~~~ -"defer playback" -string typestr="timeval" -optional -details=" - Start playback at given time which must be in a:b format where - a denotes seconds and b denotes microseconds since the epoch. +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 +