Skip to content

Commit

Permalink
Tweak MouseDrive pre-buffering
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Jul 31, 2023
1 parent c1f8dec commit ec736b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/processors/drive/mouse_drive/MouseDrive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void MouseDrive::prepare (double sampleRate, int samplesPerBlock)

// pre-buffering
AudioBuffer<float> buffer (2, samplesPerBlock);
for (int i = 0; i < 20000; i += samplesPerBlock)
for (int i = 0; i < 40000; i += samplesPerBlock)
{
buffer.clear();
processAudio (buffer);
Expand Down

0 comments on commit ec736b6

Please sign in to comment.