alsa: New writer option: --buffer-time.
[paraslash.git] / m4 / gengetopt / alsa_write.m4
index 73d9805fc1564f334359d5150c1c56ba02045539..bb4b0619493a38464bcb537d4002d8dcbae5ff28 100644 (file)
@@ -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>
+