dsound: Give a name to the critical sections, make them static and delete them when unloading the dll.
Attach a file by drag & drop or click to upload