http://bugs.winehq.org/show_bug.cgi?id=28093
--- Comment #3 from Jörg Höhle hoehle@users.sourceforge.net 2011-09-21 18:21:28 CDT --- An alternative solution path in order to preserve the simplicity and elegance of the current buffer handling with Core Audio is to decouple GetCurrentPadding from the Core Audio callbacks. Instead, padding would be controlled by GetPosition, like some exclusive mode drivers seem to do with some versions of MS-Windows, as my render tests show. (For shared mode, one would still wish to apply deltas of padding by ceiling modulo 10ms period size.) Alas, this requires to fix bug #28039 first.
We'd have something along padding := min(duration, written - position) to accommodate for latency delays > duration