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:
parent
8c988319ec
commit
4ed1d791e5
86 changed files with 22712 additions and 22630 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue