> during mmap_write(), there's chance to increase/decrease watermark. So
> before
> sleep, the actural sleep time should based on latest watermark.
[snip] 
> @@ -787,6 +787,7 @@ static int unix_write(struct userdata *u, pa_usec_t
> *sleep_usec, pa_bool_t polle

Change makes sense, but this should be done both for unix_write and
mmap_write for consistency. And while I am at it for alsa-source as well, we
should keep the same algorithm across all cases.
-Pierre




_______________________________________________
pulseaudio-discuss mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

Reply via email to