Skip to content

Commit

Permalink
Merge pull request #536 from detail-co/master
Browse files Browse the repository at this point in the history
Fix ringbuffer calloc count
  • Loading branch information
devinroth committed Feb 11, 2022
2 parents cb7572f + c1ee4c2 commit ef62470
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlackHole/BlackHole.c
Expand Up @@ -3581,7 +3581,7 @@ static OSStatus BlackHole_StartIO(AudioServerPlugInDriverRef inDriver, AudioObje
gDevice_AnchorHostTime = mach_absolute_time();

// allocate ring buffer
gRingBuffer = calloc(kRing_Buffer_Frame_Size * kNumber_Of_Channels, sizeof(Float32));
gRingBuffer = calloc(kDevice_RingBufferSize * kNumber_Of_Channels, sizeof(Float32));
}
else
{
Expand Down

0 comments on commit ef62470

Please sign in to comment.