Keep track of how much has been played and get rid of last_pos. This
commit910b695822c1ee578ccc5fb296cca971d5397b92
authorFrancois Gouget <fgouget@codeweavers.com>
Fri, 16 Jul 2004 23:42:32 +0000 (16 23:42 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 16 Jul 2004 23:42:32 +0000 (16 23:42 +0000)
tree7622fb607390d5f60d3dd8a83f3096204bb77be5
parentd84de2c4a19816dac0424190c5bb94f8d2955af2
Keep track of how much has been played and get rid of last_pos. This
fixes a bug where buffer_service() would not detect that everything
had been played.
Check that the actual sound duration was within 10% of the expected
value.
Make BUFFER_LEN and TIME_SLICE independent, make sure TIME_SLICE does
not divide BUFFER_LEN to spice things up a bit.
dlls/dsound/tests/ds3d.c
dlls/dsound/tests/dsound_test.h