mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-09 04:30:09 +00:00
New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes.
This commit is contained in:
parent
1629f9f66a
commit
a5cf4030f5
374 changed files with 2064 additions and 3331 deletions
|
|
@ -1112,8 +1112,6 @@ public:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
juce_UseDebuggingNewOperator
|
||||
|
||||
StringArray inChannels, outChannels;
|
||||
int outputDeviceIndex, inputDeviceIndex;
|
||||
|
||||
|
|
@ -1137,9 +1135,6 @@ private:
|
|||
AudioIODeviceCallback* callback;
|
||||
CriticalSection startStopLock;
|
||||
|
||||
DSoundAudioIODevice (const DSoundAudioIODevice&);
|
||||
DSoundAudioIODevice& operator= (const DSoundAudioIODevice&);
|
||||
|
||||
const String openDevice (const BigInteger& inputChannels,
|
||||
const BigInteger& outputChannels,
|
||||
double sampleRate_,
|
||||
|
|
@ -1278,6 +1273,8 @@ public:
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DSoundAudioIODevice);
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -1358,8 +1355,6 @@ public:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
juce_UseDebuggingNewOperator
|
||||
|
||||
StringArray outputDeviceNames;
|
||||
OwnedArray <GUID> outputGuids;
|
||||
|
||||
|
|
@ -1442,8 +1437,7 @@ private:
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
DSoundAudioIODeviceType (const DSoundAudioIODeviceType&);
|
||||
DSoundAudioIODeviceType& operator= (const DSoundAudioIODeviceType&);
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DSoundAudioIODeviceType);
|
||||
};
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue