Deduplicate --channels and --sample-rate.
[paraslash.git] / ggo / write.m4
index d954316a40d1fe62ad9846b1dd803a83fb4cf2c0..847bd2054bb060332961a68749c665acfd9aa2bf 100644 (file)
@@ -12,3 +12,23 @@ 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