dsound: Use an SRW lock for the buffer lock.