1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

AudioProcessLoadMeasurer: Allow specifying number of samples per-block

This commit is contained in:
reuk 2021-09-20 18:53:44 +01:00
parent 1a4296e98b
commit 58be21d6dc
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
3 changed files with 35 additions and 15 deletions

View file

@ -909,7 +909,7 @@ void AudioDeviceManager::audioDeviceIOCallbackInt (const float** inputChannelDat
if (callbacks.size() > 0)
{
AudioProcessLoadMeasurer::ScopedTimer timer (loadMeasurer);
AudioProcessLoadMeasurer::ScopedTimer timer (loadMeasurer, numSamples);
tempBuffer.setSize (jmax (1, numOutputChannels), jmax (1, numSamples), false, false, true);