Set the out buffer count to zero on read error.
[wine] / dlls / dsound /
drwxr-xr-x   ..
-rw-r--r-- 54 .cvsignore
-rw-r--r-- 393 Makefile.in
-rw-r--r-- 46301 buffer.c
-rw-r--r-- 59355 capture.c
-rw-r--r-- 59814 dsound.c
-rw-r--r-- 766 dsound.spec
-rw-r--r-- 22443 dsound_main.c
-rw-r--r-- 16906 dsound_private.h
-rw-r--r-- 36611 mixer.c
-rw-r--r-- 31383 primary.c
-rw-r--r-- 38613 propset.c
-rw-r--r-- 16960 regsvr.c
-rw-r--r-- 37546 sound3d.c
drwxr-xr-x - tests
-rw-r--r-- 1084 version.rc