As always, this is released under the terms of the WTF Public License.

Revision 5, 2011-10-15

 * Fixed COM initialization failure on Windows 7
 * Fixed compatibility with TDM GCC 4.6.1
 * wasapi.hpp uses cleaner C++ enum syntax

Revision 4, 2011-09-17

 * Created MinGW-friendly wasapi.hpp, set free of the Windows API
 * Added priority bump again, using all but TimeBeginPeriod() as it does not help
   WaitForSingleObject (when time is set to INFINITE)
 * Put SetEvent() in a critical section which fixes just about all skipping, and takes
   care of a silent buffer overflow
 * WASAPI playback is turned off when emulation is paused, allowing you to continue
   using your computer without the system-wide audio being muted
 * Eliminated split-second audio skipping when bsnes is closed
 * Cache now uses const restrict pointers
 * Added compile-time options
 * Now honors the new CONSOLE compile parameter, as in "make console", logging errors
 * Took care of all cppcheck and -Wall/-Wextra/-Wabi/-pedantic warnings
 * Removed need for threadterm() and no longer am dangling COM objects after destroy

Revision 3, 2011-08-21

 Change to xaudio2.hpp made!
 * Eliminated crash when running 32-bit bsnes on 64-bit Vista. Now it fails gracefully.
 * Made the sample() function more register-friendly
 * Added compatibility with Windows SDK (non-MinGW) headers sal.h and shtypes.h and
   MinGW header mmreg.h
 * Commented out thread priority modification, for now; adds no new crackles, for me,
   and reduces risk of wasting battery even after bsnes is closed until system restart.

Revision 2, 2011-08-17

 * Corrected localbuffers calculation to produce an audio latency the user intended.

Revision 1, 2011-08-16

 * First stable(?) release
 * Still kinda crackles but I'm still using the default 32040Hz
 * Doesn't turn off WASAPI when emulation is paused. I'll get around to that eventually.