]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ggo/write.m4
Deduplicate --channels and --sample-rate.
[paraslash.git] / ggo / write.m4
index 41e44dd7510cd839db1e1a91a56ac649eeaf1741..847bd2054bb060332961a68749c665acfd9aa2bf 100644 (file)
@@ -1,13 +1,6 @@
 include(header.m4)
 include(loglevel.m4)
 
-option "bufsize" b
-#~~~~~~~~~~~~~~~~~
-"input buffer size"
-int typestr="kilobytes"
-default="64"
-optional
-
 option "writer" w
 #~~~~~~~~~~~~~~~~
 "select stream writer"
@@ -20,12 +13,22 @@ 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