Made the buffer list in the directsound object thread-safe.