X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ggo%2Fwrite.m4;h=524d72484a7757000a320934e56b2d1ff1ce49d9;hp=d954316a40d1fe62ad9846b1dd803a83fb4cf2c0;hb=133240840bd45fbbe4f4be4c52343e0cd32f7e21;hpb=f42b5eccb6ec3364dc0500ffeffbe9d9ecab07bd diff --git a/ggo/write.m4 b/ggo/write.m4 index d954316a..524d7248 100644 --- a/ggo/write.m4 +++ b/ggo/write.m4 @@ -12,3 +12,32 @@ details=" May be give multiple times. The same writer may be specified 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 +