Don't let the primary buffer's reference count go less than 0
tree622545a333bab941367c7e28731dd2ac28ef1367
-rw-r--r-- 6 .gitignore
-rw-r--r-- 2715 CMakeLists.txt
-rw-r--r-- 85573 buffer.c
drwxr-xr-x - build
-rw-r--r-- 32122 capture.c
drwxr-xr-x - cmake
-rw-r--r-- 3050 debug.c
-rw-r--r-- 947 dsound.def
-rw-r--r-- 34139 dsound8.c
-rw-r--r-- 38601 dsound_main.c
-rw-r--r-- 22441 dsound_private.h
-rw-r--r-- 21544 duplex.c
-rw-r--r-- 9779 eax.h
drwxr-xr-x - include
-rw-r--r-- 49213 primary.c
-rw-r--r-- 20100 propset.c
-rw-r--r-- 4449 version.rc