Original Post
Can I call the IDirectSoundBuffer object methods from different threads? E.g. : //-------------------------- IDirectSoundBuffer *pDSBuffer; CRITICAL_SECTION CS; Thread1: EnterCriticalSection(&CS); pDSBuffer->Play(...); LeaveCriticalSection(&CS); Thread2: ... while(MsgWaitForMultipleObjects(...)) { if(...) { EnterCriticalSection(&CS); pDSBuffer->Lock(...); // Buf Write pDSBuffer->UnLock(...); LeaveCriticalSection(&CS); } } ... //-------------------------- Who knows which access problems may occur in this case?