Refcounting in dsound

Paul Vriens Paul.Vriens at xs4all.nl
Mon Jan 24 07:50:02 CST 2005


Hi, 

while going through some leftover TRACE's of the Interlocked cleanup, I
found the following refcounting in dsound/buffer.c and dsound.c:

dsound/buffer.c:                        This->buffer->ref--;
dsound/buffer.c:                This->buffer->ref--;
dsound/dsound.c:        dsb->buffer->ref++;

Is there a need to clean (i.e. use Interlocked*) this up?

Cheers,

Paul.




More information about the wine-devel mailing list