http://bugs.winehq.org/show_bug.cgi?id=33045
--- Comment #8 from Jörg Höhle hoehle@users.sourceforge.net 2013-03-05 10:09:19 CST --- Please investigate possible difference in behaviour between the last buffer in a queue and all other buffers before. E.g. 3 buffers -1/+1/0 and +1/-1/0. Why? Because the occasional GetPosition failures in our wave tests appear to solely occur when playing several headers and shortly before the buffer reaches the end (e.g. within the last 10ms). That lead me to believe that native does something special in that case. For instance, I've been wondering whether native may send out the last header's callback notification slightly ahead of time, to help some apps produce continuous sound.
But if you switch them around
The results are ugly, as if native inconsistently applied rounding. It would be good if you had some of these tests on testbot, I could take it to w95 this week-end.