wineesd.drv: Improve the accuracy of wodUpdatePlayedTotal().
commit14d2c98834f9f50263229f7d1718def8c4aa6953
authorFrancois Gouget <fgouget@codeweavers.com>
Sat, 28 Mar 2009 10:48:38 +0000 (28 11:48 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 30 Mar 2009 12:24:32 +0000 (30 14:24 +0200)
tree09821f377044fd4055f07169b4968e2ea45753d9
parent623586433a040b0fff427074277837882e3c0dde
wineesd.drv: Improve the accuracy of wodUpdatePlayedTotal().

We do so by querying the EsounD latency and estimating dwPlayedTotal based on the elapsed time since the last write.
This benefits the accuracy of the completion notifications and of wodGetPosition().
dlls/wineesd.drv/audio.c