Skip to content

Commit

Permalink
Fix ringbuffer calloc count
Browse files Browse the repository at this point in the history
  • Loading branch information
finnvoor committed Feb 11, 2022
1 parent cb7572f commit c1ee4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BlackHole/BlackHole.c
Original file line number Diff line number Diff line change
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 c1ee4c2

Please sign in to comment.