Remove trailing dot at the end of purpose texts.
[paraslash.git] / m4 / gengetopt / resample_filter.m4
index 0250a5e9a7a623c8dd227ed3dc2fff01fdf1c31f..2e5f40054edcfa9c9239139e1be3aaf8a8857597 100644 (file)
@@ -1,4 +1,10 @@
-option "converter" c
+args "--no-version --no-help"
+
+purpose "Transform raw audio to a different sample rate"
+
+include(header.m4)
+
+option "converter" C
 #~~~~~~~~~~~~~~~~~~~
 "choose converter type"
 enum typestr = "type"
@@ -26,3 +32,14 @@ details = "
        linear: A linear converter. Again the quality is poor, but
        the conversion speed is blindingly fast.
 "
+
+include(channels.m4)
+include(sample_rate.m4)
+include(sample_format.m4)
+
+option "dest-sample-rate" d
+#~~~~~~~~~~~~~~~~~~~~~~~~~~
+"sample rate to convert to"
+int typestr = "rate"
+default = "44100"
+optional