1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-07 04:10:08 +00:00

New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase.

This commit is contained in:
Julian Storer 2010-01-02 14:55:44 +00:00
parent 8c988319ec
commit 4ed1d791e5
86 changed files with 22712 additions and 22630 deletions

View file

@ -196,14 +196,14 @@ public:
if (getPin (filter, PINDIR_OUTPUT, &pin))
{
ComSmartPtr <IAMPushSource> pushSource;
hr = pin->QueryInterface (IID_IAMPushSource, (void**) &pushSource);
HRESULT hr = pin->QueryInterface (IID_IAMPushSource, (void**) &pushSource);
if (pushSource != 0)
{
REFERENCE_TIME latency = 0;
hr = ps->GetLatency (&latency);
hr = pushSource->GetLatency (&latency);
firstRecordedTime -= RelativeTime ((double) latency);
firstRecordedTime = firstRecordedTime - RelativeTime ((double) latency);
}
}
}