X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Falsa_write.m4;h=b2c56218dcd6f6a2e41646fafebb883c74b09089;hp=04b4963d3a9fbe6bc342ffa808ae6f33a8a168fa;hb=4d9d588c5df359c3c5f279fbfd4ea51d3a2afc87;hpb=9d75ded33ce6664156acb07e311f51d55970bbea diff --git a/m4/gengetopt/alsa_write.m4 b/m4/gengetopt/alsa_write.m4 index 04b4963d..b2c56218 100644 --- a/m4/gengetopt/alsa_write.m4 +++ b/m4/gengetopt/alsa_write.m4 @@ -1,6 +1,6 @@ args "--no-version --no-help" -purpose "Native ALSA output plugin." +purpose "Native ALSA output plugin" include(header.m4) @@ -8,11 +8,29 @@ include(header.m4) option "device" d #~~~~~~~~~~~~~~~~ "set PCM device" -string typestr="device" -default="default" +string typestr = "device" +default = "default" optional -details=" - On systems with dmix, a better choice than the default - value might be to use \"plug:swmix\". +details = " + Check for the presence of a /proc/asound/ directory to see if + 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. +" + +