mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
AudioProcessor: Allow querying of the host timestamp in processBlock
This commit is contained in:
parent
5d096b46d7
commit
cfa289d943
31 changed files with 496 additions and 185 deletions
|
|
@ -1515,8 +1515,12 @@ public:
|
|||
const ScopedTryLock sl (startStopLock);
|
||||
|
||||
if (sl.isLocked() && isStarted)
|
||||
callback->audioDeviceIOCallback (const_cast<const float**> (inputBuffers), numInputBuffers,
|
||||
outputBuffers, numOutputBuffers, bufferSize);
|
||||
callback->audioDeviceIOCallbackWithContext (const_cast<const float**> (inputBuffers),
|
||||
numInputBuffers,
|
||||
outputBuffers,
|
||||
numOutputBuffers,
|
||||
bufferSize,
|
||||
{});
|
||||
else
|
||||
outs.clear();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue