make converter_arg in resamplefilter an enum option
[paraslash.git] / m4 / gengetopt / alsa_write.m4
index 73d9805fc1564f334359d5150c1c56ba02045539..b2c56218dcd6f6a2e41646fafebb883c74b09089 100644 (file)
@@ -1,6 +1,6 @@
 args "--no-version --no-help"
 
-purpose "Native ALSA output plugin."
+purpose "Native ALSA output plugin"
 
 include(header.m4)
 
@@ -16,4 +16,21 @@ details = "
        ALSA is present in your kernel. The file /proc/asound/devices
        contains all devices ALSA knows about.
 "
+
+option "buffer-time" B
+#~~~~~~~~~~~~~~~~~~~~~
+"duration of the ALSA buffer"
+int typestr = "milliseconds"
+default = "170"
+optional
+details = "
+       This is only a hint as ALSA might pick a slightly different
+       time, depending on the sound hardware. The chosen value is
+       shown in debug output as BUFFER_TIME.
+
+       If synchronization between multiple clients is desired,
+       the same buffer time should be configured for all clients.
+"
+
 </qu>
+