   IDirectSoundBuffer8 locking problems
  It seems that if i lock a buffer once, I am not able to lock it again.  It always returns Invalid Args no matter what, even if the buffer is not playing.  Has anyone else encountered this problems?   
  you have to Unlock() your buffer after you locked it and wrote data into it.   ;  Yes, for every Lock() you make, has to have an Unlock() before you lock the buffer again.   