I would not do it this way. Permanently deleting and creating a sound will cause the artifacts that you're hearing. Use the pds and pdsb pointers to directly create a sound buffer for your voice. AFAIK, DirectSound itself is threadsafe, but engine functions are not.