Add missing alsa_write.ggo to .gitignore.
[paraslash.git] / ggo / write.m4
index e7faebccf760f80b74a7c69606b018e622a7dcce..524d72484a7757000a320934e56b2d1ff1ce49d9 100644 (file)
@@ -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
+