Skip to content

Commit a2e88a4

Browse files
authored
Merge pull request #451 from leafac/patch-3
Fix typos in comments
2 parents 17a21e9 + b643ad9 commit a2e88a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

BlackHole/BlackHole.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ static ULONG BlackHole_AddRef(void* inDriver)
123123
// check the arguments
124124
FailIf(inDriver != gAudioServerPlugInDriverRef, Done, "BlackHole_AddRef: bad driver reference");
125125

126-
// decrement the refcount
126+
// increment the refcount
127127
pthread_mutex_lock(&gPlugIn_StateMutex);
128128
if(gPlugIn_RefCount < UINT32_MAX)
129129
{
@@ -146,7 +146,7 @@ static ULONG BlackHole_Release(void* inDriver)
146146
// check the arguments
147147
FailIf(inDriver != gAudioServerPlugInDriverRef, Done, "BlackHole_Release: bad driver reference");
148148

149-
// increment the refcount
149+
// decrement the refcount
150150
pthread_mutex_lock(&gPlugIn_StateMutex);
151151
if(gPlugIn_RefCount > 0)
152152
{

0 commit comments

Comments
 (0)