winecoreaudio.drv: Don't return 0 absolute position if AudioQueue call fails.
commitf53dd40ad881cc7f887c0587d42f70bb07ddd2e0
authorAndrew Eikum <aeikum@codeweavers.com>
Thu, 21 Nov 2013 18:42:35 +0000 (21 12:42 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 22 Nov 2013 10:34:47 +0000 (22 11:34 +0100)
tree2f217bddef062f353db184888033809a33f54e7d
parent57d7f74d34f2ce0968af2eb14c7e866d6d7c39a3
winecoreaudio.drv: Don't return 0 absolute position if AudioQueue call fails.

Some failures are temporary, for example if the user reconfigures their
audio setup while playing audio. Returning 0 could have bad "going
backward in time" effects which can break audio even after the call
starts to succeed again.
dlls/winecoreaudio.drv/mmdevdrv.c