Fix heap corruption.
More audio fixes. Fix audio buffer size on Win.
Fix brace location and replace tab with space.
Fix tab with space.
Merge upstream master into audio fixes.
Fix for missing voxel system on domain change. Fix for assertion failure thrown by Qt on exit.
Merge pull request #2587 from matsukaze/nocrAudioFixes

Audio fixes for win OS.