We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a21e9 commit b643ad9Copy full SHA for b643ad9
BlackHole/BlackHole.c
@@ -123,7 +123,7 @@ static ULONG BlackHole_AddRef(void* inDriver)
123
// check the arguments
124
FailIf(inDriver != gAudioServerPlugInDriverRef, Done, "BlackHole_AddRef: bad driver reference");
125
126
- // decrement the refcount
+ // increment the refcount
127
pthread_mutex_lock(&gPlugIn_StateMutex);
128
if(gPlugIn_RefCount < UINT32_MAX)
129
{
@@ -146,7 +146,7 @@ static ULONG BlackHole_Release(void* inDriver)
146
147
FailIf(inDriver != gAudioServerPlugInDriverRef, Done, "BlackHole_Release: bad driver reference");
148
149
- // increment the refcount
+ // decrement the refcount
150
151
if(gPlugIn_RefCount > 0)
152
0 commit comments