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:
parent
1a4296e98b
commit
58be21d6dc
3 changed files with 35 additions and 15 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue