| @@ -669,8 +669,7 @@ public: | |||||
| CarlaPipeClientPlugin(const CarlaPipeCallbackFunc callbackFunc, void* const callbackPtr) noexcept | CarlaPipeClientPlugin(const CarlaPipeCallbackFunc callbackFunc, void* const callbackPtr) noexcept | ||||
| : CarlaPipeClient(), | : CarlaPipeClient(), | ||||
| fCallbackFunc(callbackFunc), | fCallbackFunc(callbackFunc), | ||||
| fCallbackPtr(callbackPtr), | |||||
| leakDetector_CarlaPipeClientPlugin() | |||||
| fCallbackPtr(callbackPtr) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(fCallbackFunc != nullptr); | CARLA_SAFE_ASSERT(fCallbackFunc != nullptr); | ||||
| } | } | ||||
| @@ -375,8 +375,7 @@ public: | |||||
| fShmNonRtServerControl(), | fShmNonRtServerControl(), | ||||
| fIsOffline(false), | fIsOffline(false), | ||||
| fFirstIdle(true), | fFirstIdle(true), | ||||
| fLastPingTime(-1), | |||||
| leakDetector_CarlaEngineBridge() | |||||
| fLastPingTime(-1) | |||||
| { | { | ||||
| carla_stdout("CarlaEngineBridge::CarlaEngineBridge(\"%s\", \"%s\", \"%s\", \"%s\")", audioPoolBaseName, rtClientBaseName, nonRtClientBaseName, nonRtServerBaseName); | carla_stdout("CarlaEngineBridge::CarlaEngineBridge(\"%s\", \"%s\", \"%s\", \"%s\")", audioPoolBaseName, rtClientBaseName, nonRtClientBaseName, nonRtServerBaseName); | ||||
| @@ -1135,8 +1135,7 @@ class CarlaPluginInstance : public AudioPluginInstance | |||||
| public: | public: | ||||
| CarlaPluginInstance(CarlaEngine* const engine, CarlaPlugin* const plugin) | CarlaPluginInstance(CarlaEngine* const engine, CarlaPlugin* const plugin) | ||||
| : kEngine(engine), | : kEngine(engine), | ||||
| fPlugin(plugin), | |||||
| leakDetector_CarlaPluginInstance() | |||||
| fPlugin(plugin) | |||||
| { | { | ||||
| setPlayConfigDetails(static_cast<int>(fPlugin->getAudioInCount()), | setPlayConfigDetails(static_cast<int>(fPlugin->getAudioInCount()), | ||||
| static_cast<int>(fPlugin->getAudioOutCount()), | static_cast<int>(fPlugin->getAudioOutCount()), | ||||
| @@ -79,8 +79,7 @@ public: | |||||
| : CarlaEngineAudioPort(client, isInputPort, indexOffset), | : CarlaEngineAudioPort(client, isInputPort, indexOffset), | ||||
| fJackClient(jackClient), | fJackClient(jackClient), | ||||
| fJackPort(jackPort), | fJackPort(jackPort), | ||||
| kDeletionCallback(delCallback), | |||||
| leakDetector_CarlaEngineJackAudioPort() | |||||
| kDeletionCallback(delCallback) | |||||
| { | { | ||||
| carla_debug("CarlaEngineJackAudioPort::CarlaEngineJackAudioPort(%s, %p, %p)", bool2str(isInputPort), jackClient, jackPort); | carla_debug("CarlaEngineJackAudioPort::CarlaEngineJackAudioPort(%s, %p, %p)", bool2str(isInputPort), jackClient, jackPort); | ||||
| @@ -172,8 +171,7 @@ public: | |||||
| : CarlaEngineCVPort(client, isInputPort, indexOffset), | : CarlaEngineCVPort(client, isInputPort, indexOffset), | ||||
| fJackClient(jackClient), | fJackClient(jackClient), | ||||
| fJackPort(jackPort), | fJackPort(jackPort), | ||||
| kDeletionCallback(delCallback), | |||||
| leakDetector_CarlaEngineJackCVPort() | |||||
| kDeletionCallback(delCallback) | |||||
| { | { | ||||
| carla_debug("CarlaEngineJackCVPort::CarlaEngineJackCVPort(%s, %p, %p)", bool2str(isInputPort), jackClient, jackPort); | carla_debug("CarlaEngineJackCVPort::CarlaEngineJackCVPort(%s, %p, %p)", bool2str(isInputPort), jackClient, jackPort); | ||||
| @@ -265,8 +263,7 @@ public: | |||||
| fJackPort(jackPort), | fJackPort(jackPort), | ||||
| fJackBuffer(nullptr), | fJackBuffer(nullptr), | ||||
| fRetEvent(kFallbackJackEngineEvent), | fRetEvent(kFallbackJackEngineEvent), | ||||
| kDeletionCallback(delCallback), | |||||
| leakDetector_CarlaEngineJackEventPort() | |||||
| kDeletionCallback(delCallback) | |||||
| { | { | ||||
| carla_debug("CarlaEngineJackEventPort::CarlaEngineJackEventPort(%s, %p, %p)", bool2str(isInputPort), jackClient, jackPort); | carla_debug("CarlaEngineJackEventPort::CarlaEngineJackEventPort(%s, %p, %p)", bool2str(isInputPort), jackClient, jackPort); | ||||
| @@ -458,8 +455,7 @@ public: | |||||
| fUseClient(engine.getProccessMode() == ENGINE_PROCESS_MODE_SINGLE_CLIENT || engine.getProccessMode() == ENGINE_PROCESS_MODE_MULTIPLE_CLIENTS), | fUseClient(engine.getProccessMode() == ENGINE_PROCESS_MODE_SINGLE_CLIENT || engine.getProccessMode() == ENGINE_PROCESS_MODE_MULTIPLE_CLIENTS), | ||||
| fAudioPorts(), | fAudioPorts(), | ||||
| fCVPorts(), | fCVPorts(), | ||||
| fEventPorts(), | |||||
| leakDetector_CarlaEngineJackClient() | |||||
| fEventPorts() | |||||
| { | { | ||||
| carla_debug("CarlaEngineJackClient::CarlaEngineJackClient(%p)", jackClient); | carla_debug("CarlaEngineJackClient::CarlaEngineJackClient(%p)", jackClient); | ||||
| @@ -669,15 +665,14 @@ public: | |||||
| fExternalPatchbay(true), | fExternalPatchbay(true), | ||||
| fFreewheel(false), | fFreewheel(false), | ||||
| #ifdef BUILD_BRIDGE | #ifdef BUILD_BRIDGE | ||||
| fIsRunning(false), | |||||
| fIsRunning(false) | |||||
| #else | #else | ||||
| fUsedGroups(), | fUsedGroups(), | ||||
| fUsedPorts(), | fUsedPorts(), | ||||
| fUsedConnections(), | fUsedConnections(), | ||||
| fNewGroups(), | fNewGroups(), | ||||
| fRetConns(), | |||||
| fRetConns() | |||||
| #endif | #endif | ||||
| leakDetector_CarlaEngineJack() | |||||
| { | { | ||||
| carla_debug("CarlaEngineJack::CarlaEngineJack()"); | carla_debug("CarlaEngineJack::CarlaEngineJack()"); | ||||
| @@ -85,8 +85,7 @@ public: | |||||
| fMidiIns(), | fMidiIns(), | ||||
| fMidiInEvents(), | fMidiInEvents(), | ||||
| fMidiOuts(), | fMidiOuts(), | ||||
| fMidiOutMutex(), | |||||
| leakDetector_CarlaEngineJuce() | |||||
| fMidiOutMutex() | |||||
| { | { | ||||
| carla_debug("CarlaEngineJuce::CarlaEngineJuce(%p)", devType); | carla_debug("CarlaEngineJuce::CarlaEngineJuce(%p)", devType); | ||||
| @@ -63,8 +63,7 @@ class CarlaEngineNativeUI : public CarlaExternalUI | |||||
| { | { | ||||
| public: | public: | ||||
| CarlaEngineNativeUI(CarlaEngine* const engine) | CarlaEngineNativeUI(CarlaEngine* const engine) | ||||
| : fEngine(engine), | |||||
| leakDetector_CarlaEngineNativeUI() | |||||
| : fEngine(engine) | |||||
| { | { | ||||
| carla_debug("CarlaEngineNativeUI::CarlaEngineNativeUI(%p)", engine); | carla_debug("CarlaEngineNativeUI::CarlaEngineNativeUI(%p)", engine); | ||||
| } | } | ||||
| @@ -566,8 +565,7 @@ public: | |||||
| fIsActive(false), | fIsActive(false), | ||||
| fIsRunning(false), | fIsRunning(false), | ||||
| fUiServer(this), | fUiServer(this), | ||||
| fOptionsForced(false), | |||||
| leakDetector_CarlaEngineNative() | |||||
| fOptionsForced(false) | |||||
| { | { | ||||
| carla_debug("CarlaEngineNative::CarlaEngineNative()"); | carla_debug("CarlaEngineNative::CarlaEngineNative()"); | ||||
| @@ -39,8 +39,7 @@ CarlaEngineOsc::CarlaEngineOsc(CarlaEngine* const engine) noexcept | |||||
| fServerPathTCP(), | fServerPathTCP(), | ||||
| fServerPathUDP(), | fServerPathUDP(), | ||||
| fServerTCP(nullptr), | fServerTCP(nullptr), | ||||
| fServerUDP(nullptr), | |||||
| leakDetector_CarlaEngineOsc() | |||||
| fServerUDP(nullptr) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(engine != nullptr); | CARLA_SAFE_ASSERT(engine != nullptr); | ||||
| carla_debug("CarlaEngineOsc::CarlaEngineOsc(%p)", engine); | carla_debug("CarlaEngineOsc::CarlaEngineOsc(%p)", engine); | ||||
| @@ -170,8 +170,7 @@ public: | |||||
| fMidiInEvents(), | fMidiInEvents(), | ||||
| fMidiOuts(), | fMidiOuts(), | ||||
| fMidiOutMutex(), | fMidiOutMutex(), | ||||
| fMidiOutVector(3), | |||||
| leakDetector_CarlaEngineRtAudio() | |||||
| fMidiOutVector(3) | |||||
| { | { | ||||
| carla_debug("CarlaEngineRtAudio::CarlaEngineRtAudio(%i)", api); | carla_debug("CarlaEngineRtAudio::CarlaEngineRtAudio(%i)", api); | ||||
| @@ -25,8 +25,7 @@ CARLA_BACKEND_START_NAMESPACE | |||||
| CarlaEngineThread::CarlaEngineThread(CarlaEngine* const engine) noexcept | CarlaEngineThread::CarlaEngineThread(CarlaEngine* const engine) noexcept | ||||
| : CarlaThread("CarlaEngineThread"), | : CarlaThread("CarlaEngineThread"), | ||||
| kEngine(engine), | |||||
| leakDetector_CarlaEngineThread() | |||||
| kEngine(engine) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(engine != nullptr); | CARLA_SAFE_ASSERT(engine != nullptr); | ||||
| carla_debug("CarlaEngineThread::CarlaEngineThread(%p)", engine); | carla_debug("CarlaEngineThread::CarlaEngineThread(%p)", engine); | ||||
| @@ -498,8 +498,7 @@ public: | |||||
| fBinary(), | fBinary(), | ||||
| fLabel(), | fLabel(), | ||||
| fShmIds(), | fShmIds(), | ||||
| fProcess(), | |||||
| leakDetector_CarlaPluginBridgeThread() {} | |||||
| fProcess() {} | |||||
| void setData(const char* const binary, const char* const label, const char* const shmIds) noexcept | void setData(const char* const binary, const char* const label, const char* const shmIds) noexcept | ||||
| { | { | ||||
| @@ -744,8 +743,7 @@ public: | |||||
| fShmNonRtServerControl(), | fShmNonRtServerControl(), | ||||
| fInfo(), | fInfo(), | ||||
| fUniqueId(0), | fUniqueId(0), | ||||
| fParams(nullptr), | |||||
| leakDetector_CarlaPluginBridge() | |||||
| fParams(nullptr) | |||||
| { | { | ||||
| carla_debug("CarlaPluginBridge::CarlaPluginBridge(%p, %i, %s, %s)", engine, id, BinaryType2Str(btype), PluginType2Str(ptype)); | carla_debug("CarlaPluginBridge::CarlaPluginBridge(%p, %i, %s, %s)", engine, id, BinaryType2Str(btype), PluginType2Str(ptype)); | ||||
| @@ -75,8 +75,7 @@ public: | |||||
| fBinary(), | fBinary(), | ||||
| fLabel(), | fLabel(), | ||||
| fOscData(oscData), | fOscData(oscData), | ||||
| fProcess(), | |||||
| leakDetector_CarlaThreadDSSIUI() {} | |||||
| fProcess() {} | |||||
| void setData(const char* const binary, const char* const label) noexcept | void setData(const char* const binary, const char* const label) noexcept | ||||
| { | { | ||||
| @@ -276,13 +275,12 @@ public: | |||||
| fForcedStereoIn(false), | fForcedStereoIn(false), | ||||
| fForcedStereoOut(false), | fForcedStereoOut(false), | ||||
| fIsDssiVst(false), | fIsDssiVst(false), | ||||
| fUsesCustomData(false), | |||||
| fUsesCustomData(false) | |||||
| #ifdef HAVE_LIBLO | #ifdef HAVE_LIBLO | ||||
| fOscData(), | |||||
| , fOscData(), | |||||
| fThreadUI(engine, this, fOscData), | fThreadUI(engine, this, fOscData), | ||||
| fUiFilename(nullptr), | |||||
| fUiFilename(nullptr) | |||||
| #endif | #endif | ||||
| leakDetector_CarlaPluginDSSI() | |||||
| { | { | ||||
| carla_debug("CarlaPluginDSSI::CarlaPluginDSSI(%p, %i)", engine, id); | carla_debug("CarlaPluginDSSI::CarlaPluginDSSI(%p, %i)", engine, id); | ||||
| @@ -49,8 +49,7 @@ public: | |||||
| fSynth(nullptr), | fSynth(nullptr), | ||||
| fSynthId(0), | fSynthId(0), | ||||
| fAudio16Buffers(nullptr), | fAudio16Buffers(nullptr), | ||||
| fLabel(nullptr), | |||||
| leakDetector_CarlaPluginFluidSynth() | |||||
| fLabel(nullptr) | |||||
| { | { | ||||
| carla_debug("CarlaPluginFluidSynth::CarlaPluginFluidSynth(%p, %i, %s)", engine, id, bool2str(use16Outs)); | carla_debug("CarlaPluginFluidSynth::CarlaPluginFluidSynth(%p, %i, %s)", engine, id, bool2str(use16Outs)); | ||||
| @@ -576,11 +576,11 @@ CarlaPlugin::ProtectedData::ProtectedData(CarlaEngine* const eng, const uint idx | |||||
| extNotes(), | extNotes(), | ||||
| latency(), | latency(), | ||||
| postRtEvents(), | postRtEvents(), | ||||
| postUiEvents(), | |||||
| postUiEvents() | |||||
| #ifndef BUILD_BRIDGE | #ifndef BUILD_BRIDGE | ||||
| postProc(), | |||||
| , postProc(), | |||||
| #endif | #endif | ||||
| leakDetector_ProtectedData() {} | |||||
| {} | |||||
| CarlaPlugin::ProtectedData::~ProtectedData() noexcept | CarlaPlugin::ProtectedData::~ProtectedData() noexcept | ||||
| { | { | ||||
| @@ -47,8 +47,7 @@ public: | |||||
| fPosInfo(), | fPosInfo(), | ||||
| fChunk(), | fChunk(), | ||||
| fUniqueId(nullptr), | fUniqueId(nullptr), | ||||
| fWindow(), | |||||
| leakDetector_CarlaPluginJuce() | |||||
| fWindow() | |||||
| { | { | ||||
| carla_debug("CarlaPluginJuce::CarlaPluginJuce(%p, %i)", engine, id); | carla_debug("CarlaPluginJuce::CarlaPluginJuce(%p, %i)", engine, id); | ||||
| @@ -40,8 +40,7 @@ public: | |||||
| fLatencyIndex(-1), | fLatencyIndex(-1), | ||||
| fForcedStereoIn(false), | fForcedStereoIn(false), | ||||
| fForcedStereoOut(false), | fForcedStereoOut(false), | ||||
| fIsDssiVst(false), | |||||
| leakDetector_CarlaPluginLADSPA() | |||||
| fIsDssiVst(false) | |||||
| { | { | ||||
| carla_debug("CarlaPluginLADSPA::CarlaPluginLADSPA(%p, %i)", engine, id); | carla_debug("CarlaPluginLADSPA::CarlaPluginLADSPA(%p, %i)", engine, id); | ||||
| @@ -401,8 +401,7 @@ public: | |||||
| fFilename(), | fFilename(), | ||||
| fPluginURI(), | fPluginURI(), | ||||
| fUiURI(), | fUiURI(), | ||||
| fUiState(UiNone), | |||||
| leakDetector_CarlaPipeServerLV2() {} | |||||
| fUiState(UiNone) {} | |||||
| ~CarlaPipeServerLV2() noexcept override | ~CarlaPipeServerLV2() noexcept override | ||||
| { | { | ||||
| @@ -523,8 +522,7 @@ public: | |||||
| fLastStateChunk(nullptr), | fLastStateChunk(nullptr), | ||||
| fLastTimeInfo(), | fLastTimeInfo(), | ||||
| fExt(), | fExt(), | ||||
| fUI(), | |||||
| leakDetector_CarlaPluginLV2() | |||||
| fUI() | |||||
| { | { | ||||
| carla_debug("CarlaPluginLV2::CarlaPluginLV2(%p, %i)", engine, id); | carla_debug("CarlaPluginLV2::CarlaPluginLV2(%p, %i)", engine, id); | ||||
| @@ -59,8 +59,7 @@ public: | |||||
| AudioOutputDevicePlugin(const CarlaEngine* const engine, const CarlaPlugin* const plugin, const bool uses16Outs) | AudioOutputDevicePlugin(const CarlaEngine* const engine, const CarlaPlugin* const plugin, const bool uses16Outs) | ||||
| : AudioOutputDevice(std::map<std::string, DeviceCreationParameter*>()), | : AudioOutputDevice(std::map<std::string, DeviceCreationParameter*>()), | ||||
| kEngine(engine), | kEngine(engine), | ||||
| kPlugin(plugin), | |||||
| leakDetector_AudioOutputDevicePlugin() | |||||
| kPlugin(plugin) | |||||
| { | { | ||||
| CARLA_ASSERT(engine != nullptr); | CARLA_ASSERT(engine != nullptr); | ||||
| CARLA_ASSERT(plugin != nullptr); | CARLA_ASSERT(plugin != nullptr); | ||||
| @@ -130,8 +129,7 @@ class MidiInputPortPlugin : public MidiInputPort | |||||
| { | { | ||||
| public: | public: | ||||
| MidiInputPortPlugin(MidiInputDevice* const device, const int portNum = 0) | MidiInputPortPlugin(MidiInputDevice* const device, const int portNum = 0) | ||||
| : MidiInputPort(device, portNum), | |||||
| leakDetector_MidiInputPortPlugin() {} | |||||
| : MidiInputPort(device, portNum) {} | |||||
| CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(MidiInputPortPlugin) | CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(MidiInputPortPlugin) | ||||
| }; | }; | ||||
| @@ -143,8 +141,7 @@ class MidiInputDevicePlugin : public MidiInputDevice | |||||
| { | { | ||||
| public: | public: | ||||
| MidiInputDevicePlugin(Sampler* const sampler) | MidiInputDevicePlugin(Sampler* const sampler) | ||||
| : MidiInputDevice(std::map<std::string, DeviceCreationParameter*>(), sampler), | |||||
| leakDetector_MidiInputDevicePlugin() | |||||
| : MidiInputDevice(std::map<std::string, DeviceCreationParameter*>(), sampler) | |||||
| { | { | ||||
| AcquirePorts(1); | AcquirePorts(1); | ||||
| } | } | ||||
| @@ -210,8 +207,7 @@ public: | |||||
| fMidiInputDevice(sSampler), | fMidiInputDevice(sSampler), | ||||
| fMidiInputPort(nullptr), | fMidiInputPort(nullptr), | ||||
| fInstrumentIds(), | fInstrumentIds(), | ||||
| fInstrumentInfo(), | |||||
| leakDetector_CarlaPluginLinuxSampler() | |||||
| fInstrumentInfo() | |||||
| { | { | ||||
| carla_debug("CarlaPluginLinuxSampler::CarlaPluginLinuxSampler(%p, %i, %s, %s)", engine, id, bool2str(isGIG), bool2str(use16Outs)); | carla_debug("CarlaPluginLinuxSampler::CarlaPluginLinuxSampler(%p, %i, %s, %s)", engine, id, bool2str(isGIG), bool2str(use16Outs)); | ||||
| @@ -185,8 +185,7 @@ public: | |||||
| fMidiEventCount(0), | fMidiEventCount(0), | ||||
| fMidiIn(), | fMidiIn(), | ||||
| fMidiOut(), | fMidiOut(), | ||||
| fTimeInfo(), | |||||
| leakDetector_CarlaPluginNative() | |||||
| fTimeInfo() | |||||
| { | { | ||||
| carla_debug("CarlaPluginNative::CarlaPluginNative(%p, %i)", engine, id); | carla_debug("CarlaPluginNative::CarlaPluginNative(%p, %i)", engine, id); | ||||
| @@ -72,8 +72,7 @@ public: | |||||
| #endif | #endif | ||||
| fEvents(), | fEvents(), | ||||
| fUI(), | fUI(), | ||||
| fUnique2(2), | |||||
| leakDetector_CarlaPluginVST2() | |||||
| fUnique2(2) | |||||
| { | { | ||||
| carla_debug("CarlaPluginVST2::CarlaPluginVST2(%p, %i)", engine, id); | carla_debug("CarlaPluginVST2::CarlaPluginVST2(%p, %i)", engine, id); | ||||
| @@ -177,8 +177,7 @@ public: | |||||
| CarlaBridgePlugin(const bool useBridge, const char* const clientName, const char* const audioPoolBaseName, | CarlaBridgePlugin(const bool useBridge, const char* const clientName, const char* const audioPoolBaseName, | ||||
| const char* const rtClientBaseName, const char* const nonRtClientBaseName, const char* const nonRtServerBaseName) | const char* const rtClientBaseName, const char* const nonRtClientBaseName, const char* const nonRtServerBaseName) | ||||
| : fEngine(nullptr), | : fEngine(nullptr), | ||||
| fUsingBridge(false), | |||||
| leakDetector_CarlaBridgePlugin() | |||||
| fUsingBridge(false) | |||||
| { | { | ||||
| CARLA_ASSERT(clientName != nullptr && clientName[0] != '\0'); | CARLA_ASSERT(clientName != nullptr && clientName[0] != '\0'); | ||||
| carla_debug("CarlaBridgePlugin::CarlaBridgePlugin(%s, \"%s\", %s, %s, %s, %s)", bool2str(useBridge), clientName, audioPoolBaseName, rtClientBaseName, nonRtClientBaseName, nonRtServerBaseName); | carla_debug("CarlaBridgePlugin::CarlaBridgePlugin(%s, \"%s\", %s, %s, %s, %s)", bool2str(useBridge), clientName, audioPoolBaseName, rtClientBaseName, nonRtClientBaseName, nonRtServerBaseName); | ||||
| @@ -49,8 +49,7 @@ protected: | |||||
| CarlaBridgeUI* const ui; | CarlaBridgeUI* const ui; | ||||
| CarlaBridgeToolkit(CarlaBridgeUI* const u) | CarlaBridgeToolkit(CarlaBridgeUI* const u) | ||||
| : ui(u), | |||||
| leakDetector_CarlaBridgeToolkit() {} | |||||
| : ui(u) {} | |||||
| CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CarlaBridgeToolkit) | CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CarlaBridgeToolkit) | ||||
| }; | }; | ||||
| @@ -45,8 +45,7 @@ public: | |||||
| fLastX(0), | fLastX(0), | ||||
| fLastY(0), | fLastY(0), | ||||
| fLastWidth(0), | fLastWidth(0), | ||||
| fLastHeight(0), | |||||
| leakDetector_CarlaBridgeToolkitGtk() | |||||
| fLastHeight(0) | |||||
| { | { | ||||
| carla_debug("CarlaBridgeToolkitGtk::CarlaBridgeToolkitGtk(%p)", u); | carla_debug("CarlaBridgeToolkitGtk::CarlaBridgeToolkitGtk(%p)", u); | ||||
| } | } | ||||
| @@ -37,11 +37,10 @@ public: | |||||
| CarlaBridgeToolkitPlugin(CarlaBridgeUI* const u) | CarlaBridgeToolkitPlugin(CarlaBridgeUI* const u) | ||||
| : CarlaBridgeToolkit(u), | : CarlaBridgeToolkit(u), | ||||
| fUI(nullptr), | fUI(nullptr), | ||||
| fIdling(false), | |||||
| fIdling(false) | |||||
| #if defined(CARLA_OS_WIN) || defined(CARLA_OS_MAC) | #if defined(CARLA_OS_WIN) || defined(CARLA_OS_MAC) | ||||
| kJuceInit(), | |||||
| , kJuceInit() | |||||
| #endif | #endif | ||||
| leakDetector_CarlaBridgeToolkitPlugin() | |||||
| { | { | ||||
| carla_debug("CarlaBridgeToolkitPlugin::CarlaBridgeToolkitPlugin(%p)", u); | carla_debug("CarlaBridgeToolkitPlugin::CarlaBridgeToolkitPlugin(%p)", u); | ||||
| } | } | ||||
| @@ -57,8 +57,7 @@ public: | |||||
| fApp(nullptr), | fApp(nullptr), | ||||
| fWindow(nullptr), | fWindow(nullptr), | ||||
| fMsgTimer(0), | fMsgTimer(0), | ||||
| fNeedsShow(false), | |||||
| leakDetector_CarlaBridgeToolkitQt() | |||||
| fNeedsShow(false) | |||||
| { | { | ||||
| carla_debug("CarlaBridgeToolkitQt::CarlaBridgeToolkitQt(%p)", u); | carla_debug("CarlaBridgeToolkitQt::CarlaBridgeToolkitQt(%p)", u); | ||||
| } | } | ||||
| @@ -212,8 +212,7 @@ public: | |||||
| fLv2Options(), | fLv2Options(), | ||||
| fUiOptions(), | fUiOptions(), | ||||
| fCustomURIDs(), | fCustomURIDs(), | ||||
| fExt(), | |||||
| leakDetector_CarlaLv2Client() | |||||
| fExt() | |||||
| { | { | ||||
| carla_zeroPointers(fFeatures, kFeatureCount+1); | carla_zeroPointers(fFeatures, kFeatureCount+1); | ||||
| @@ -39,8 +39,7 @@ CarlaBridgeUI::CarlaBridgeUI() noexcept | |||||
| fLastMsgTimer(-1), | fLastMsgTimer(-1), | ||||
| fToolkit(nullptr), | fToolkit(nullptr), | ||||
| fLib(nullptr), | fLib(nullptr), | ||||
| fLibFilename(), | |||||
| leakDetector_CarlaBridgeUI() | |||||
| fLibFilename() | |||||
| { | { | ||||
| carla_debug("CarlaBridgeUI::CarlaBridgeUI()"); | carla_debug("CarlaBridgeUI::CarlaBridgeUI()"); | ||||
| @@ -34,8 +34,7 @@ class NativePluginClass | |||||
| { | { | ||||
| public: | public: | ||||
| NativePluginClass(const NativeHostDescriptor* const host) | NativePluginClass(const NativeHostDescriptor* const host) | ||||
| : pHost(host), | |||||
| leakDetector_NativePluginClass() | |||||
| : pHost(host) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(host != nullptr); | CARLA_SAFE_ASSERT(host != nullptr); | ||||
| } | } | ||||
| @@ -36,8 +36,7 @@ public: | |||||
| NativePluginAndUiClass(const NativeHostDescriptor* const host, const char* const extUiPath) | NativePluginAndUiClass(const NativeHostDescriptor* const host, const char* const extUiPath) | ||||
| : NativePluginClass(host), | : NativePluginClass(host), | ||||
| CarlaExternalUI(), | CarlaExternalUI(), | ||||
| fExtUiPath(getResourceDir()), | |||||
| leakDetector_NativePluginAndUiClass() | |||||
| fExtUiPath(getResourceDir()) | |||||
| { | { | ||||
| fExtUiPath += CARLA_OS_SEP_STR; | fExtUiPath += CARLA_OS_SEP_STR; | ||||
| fExtUiPath += extUiPath; | fExtUiPath += extUiPath; | ||||
| @@ -47,8 +47,7 @@ public: | |||||
| fReaderBuffer(), | fReaderBuffer(), | ||||
| fReaderMutex(), | fReaderMutex(), | ||||
| fReader(), | fReader(), | ||||
| fReaderSource(), | |||||
| leakDetector_AudioFilePlugin() | |||||
| fReaderSource() | |||||
| { | { | ||||
| fReaderBuffer.setSize(2, static_cast<int>(getBufferSize())); | fReaderBuffer.setSize(2, static_cast<int>(getBufferSize())); | ||||
| } | } | ||||
| @@ -35,8 +35,7 @@ public: | |||||
| fColor(1), | fColor(1), | ||||
| fStyle(1), | fStyle(1), | ||||
| fOutLeft(0.0f), | fOutLeft(0.0f), | ||||
| fOutRight(0.0f), | |||||
| leakDetector_BigMeterPlugin() {} | |||||
| fOutRight(0.0f) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -58,8 +58,7 @@ public: | |||||
| fMidiPort(0), | fMidiPort(0), | ||||
| fStartTime(0), | fStartTime(0), | ||||
| fMutex(), | fMutex(), | ||||
| fData(), | |||||
| leakDetector_MidiPattern() | |||||
| fData() | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(kPlayer != nullptr); | CARLA_SAFE_ASSERT(kPlayer != nullptr); | ||||
| } | } | ||||
| @@ -30,8 +30,7 @@ public: | |||||
| : NativePluginClass(host), | : NativePluginClass(host), | ||||
| fMidiOut(this), | fMidiOut(this), | ||||
| fNeedsAllNotesOff(false), | fNeedsAllNotesOff(false), | ||||
| fWasPlayingBefore(false), | |||||
| leakDetector_MidiFilePlugin() {} | |||||
| fWasPlayingBefore(false) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -38,8 +38,7 @@ public: | |||||
| fTicksPerFrame(0.0), | fTicksPerFrame(0.0), | ||||
| fInEvents(), | fInEvents(), | ||||
| fMidiOut(this), | fMidiOut(this), | ||||
| fTimeInfo(), | |||||
| leakDetector_MidiSequencerPlugin() | |||||
| fTimeInfo() | |||||
| { | { | ||||
| carla_zeroStruct(fTimeInfo); | carla_zeroStruct(fTimeInfo); | ||||
| } | } | ||||
| @@ -26,8 +26,7 @@ class NotesPlugin : public NativePluginAndUiClass | |||||
| public: | public: | ||||
| NotesPlugin(const NativeHostDescriptor* const host) | NotesPlugin(const NativeHostDescriptor* const host) | ||||
| : NativePluginAndUiClass(host, "notes-ui"), | : NativePluginAndUiClass(host, "notes-ui"), | ||||
| fCurPage(1), | |||||
| leakDetector_NotesPlugin() {} | |||||
| fCurPage(1) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -54,8 +54,7 @@ public: | |||||
| : NativePluginAndUiClass(host, "at1-ui"), | : NativePluginAndUiClass(host, "at1-ui"), | ||||
| fJackClient(), | fJackClient(), | ||||
| jclient(nullptr), | jclient(nullptr), | ||||
| notemask(0xfff), | |||||
| leakDetector_AT1Plugin() | |||||
| notemask(0xfff) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(host != nullptr); | CARLA_SAFE_ASSERT(host != nullptr); | ||||
| @@ -52,8 +52,7 @@ public: | |||||
| BLS1Plugin(const NativeHostDescriptor* const host) | BLS1Plugin(const NativeHostDescriptor* const host) | ||||
| : NativePluginAndUiClass(host, "bls1-ui"), | : NativePluginAndUiClass(host, "bls1-ui"), | ||||
| fJackClient(), | fJackClient(), | ||||
| jclient(nullptr), | |||||
| leakDetector_BLS1Plugin() | |||||
| jclient(nullptr) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(host != nullptr); | CARLA_SAFE_ASSERT(host != nullptr); | ||||
| @@ -55,8 +55,7 @@ public: | |||||
| kNumInputs(2), | kNumInputs(2), | ||||
| kNumOutputs(isAmbisonic ? 4 : 2), | kNumOutputs(isAmbisonic ? 4 : 2), | ||||
| fJackClient(), | fJackClient(), | ||||
| jclient(nullptr), | |||||
| leakDetector_REV1Plugin() | |||||
| jclient(nullptr) | |||||
| { | { | ||||
| CARLA_SAFE_ASSERT(host != nullptr); | CARLA_SAFE_ASSERT(host != nullptr); | ||||
| @@ -46,8 +46,7 @@ protected: | |||||
| fSampleRate(getSampleRate()), | fSampleRate(getSampleRate()), | ||||
| fEffect(nullptr), | fEffect(nullptr), | ||||
| efxoutl(nullptr), | efxoutl(nullptr), | ||||
| efxoutr(nullptr), | |||||
| leakDetector_FxAbstractPlugin() | |||||
| efxoutr(nullptr) | |||||
| { | { | ||||
| const int ibufferSize(static_cast<int>(fBufferSize)); | const int ibufferSize(static_cast<int>(fBufferSize)); | ||||
| @@ -233,8 +232,7 @@ class FxAlienWahPlugin : public FxAbstractPlugin<Alienwah> | |||||
| { | { | ||||
| public: | public: | ||||
| FxAlienWahPlugin(const NativeHostDescriptor* const host) | FxAlienWahPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 11, 4), | |||||
| leakDetector_FxAlienWahPlugin() {} | |||||
| : FxAbstractPlugin(host, 11, 4) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -370,8 +368,7 @@ class FxChorusPlugin : public FxAbstractPlugin<Chorus> | |||||
| { | { | ||||
| public: | public: | ||||
| FxChorusPlugin(const NativeHostDescriptor* const host) | FxChorusPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 12, 10), | |||||
| leakDetector_FxChorusPlugin() {} | |||||
| : FxAbstractPlugin(host, 12, 10) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -531,8 +528,7 @@ class FxDistortionPlugin : public FxAbstractPlugin<Distorsion> | |||||
| { | { | ||||
| public: | public: | ||||
| FxDistortionPlugin(const NativeHostDescriptor* const host) | FxDistortionPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 11, 6), | |||||
| leakDetector_FxDistortionPlugin() {} | |||||
| : FxAbstractPlugin(host, 11, 6) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -700,8 +696,7 @@ class FxDynamicFilterPlugin : public FxAbstractPlugin<DynamicFilter> | |||||
| { | { | ||||
| public: | public: | ||||
| FxDynamicFilterPlugin(const NativeHostDescriptor* const host) | FxDynamicFilterPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 10, 5), | |||||
| leakDetector_FxDynamicFilterPlugin() {} | |||||
| : FxAbstractPlugin(host, 10, 5) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -835,8 +830,7 @@ class FxEchoPlugin : public FxAbstractPlugin<Echo> | |||||
| { | { | ||||
| public: | public: | ||||
| FxEchoPlugin(const NativeHostDescriptor* const host) | FxEchoPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 7, 9), | |||||
| leakDetector_FxEchoPlugin() {} | |||||
| : FxAbstractPlugin(host, 7, 9) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -958,8 +952,7 @@ class FxPhaserPlugin : public FxAbstractPlugin<Phaser> | |||||
| { | { | ||||
| public: | public: | ||||
| FxPhaserPlugin(const NativeHostDescriptor* const host) | FxPhaserPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 15, 12), | |||||
| leakDetector_FxPhaserPlugin() {} | |||||
| : FxAbstractPlugin(host, 15, 12) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -1142,8 +1135,7 @@ class FxReverbPlugin : public FxAbstractPlugin<Reverb> | |||||
| { | { | ||||
| public: | public: | ||||
| FxReverbPlugin(const NativeHostDescriptor* const host) | FxReverbPlugin(const NativeHostDescriptor* const host) | ||||
| : FxAbstractPlugin(host, 13, 13), | |||||
| leakDetector_FxReverbPlugin() {} | |||||
| : FxAbstractPlugin(host, 13, 13) {} | |||||
| protected: | protected: | ||||
| // ------------------------------------------------------------------- | // ------------------------------------------------------------------- | ||||
| @@ -207,8 +207,7 @@ public: | |||||
| fMaster(nullptr), | fMaster(nullptr), | ||||
| fSynth(), | fSynth(), | ||||
| fIsActive(false), | fIsActive(false), | ||||
| fMutex(), | |||||
| leakDetector_ZynAddSubFxPlugin() | |||||
| fMutex() | |||||
| { | { | ||||
| sPrograms.initIfNeeded(); | sPrograms.initIfNeeded(); | ||||
| @@ -90,8 +90,7 @@ public: | |||||
| fURIs(), | fURIs(), | ||||
| fUI(), | fUI(), | ||||
| fPorts(), | fPorts(), | ||||
| sJuceInitialiser(), | |||||
| leakDetector_NativePlugin() | |||||
| sJuceInitialiser() | |||||
| { | { | ||||
| run = extui_run; | run = extui_run; | ||||
| show = extui_show; | show = extui_show; | ||||
| @@ -83,8 +83,7 @@ public: | |||||
| fVstRect(), | fVstRect(), | ||||
| fMidiOutEvents(), | fMidiOutEvents(), | ||||
| fStateChunk(nullptr), | fStateChunk(nullptr), | ||||
| sJuceInitialiser(), | |||||
| leakDetector_NativePlugin() | |||||
| sJuceInitialiser() | |||||
| { | { | ||||
| fHost.handle = this; | fHost.handle = this; | ||||
| fHost.uiName = carla_strdup("CarlaVST"); | fHost.uiName = carla_strdup("CarlaVST"); | ||||
| @@ -37,8 +37,7 @@ public: | |||||
| : fFilename(), | : fFilename(), | ||||
| fArg1(), | fArg1(), | ||||
| fArg2(), | fArg2(), | ||||
| fUiState(UiNone), | |||||
| leakDetector_CarlaExternalUI() {} | |||||
| fUiState(UiNone) {} | |||||
| ~CarlaExternalUI() /*noexcept*/ override | ~CarlaExternalUI() /*noexcept*/ override | ||||
| { | { | ||||
| @@ -41,8 +41,7 @@ public: | |||||
| : Thread("JuceEventsThread"), | : Thread("JuceEventsThread"), | ||||
| fInitializing(false), | fInitializing(false), | ||||
| fLock(), | fLock(), | ||||
| fQueue(), | |||||
| leakDetector_JuceEventsThread() {} | |||||
| fQueue() {} | |||||
| ~JuceEventsThread() | ~JuceEventsThread() | ||||
| { | { | ||||
| @@ -534,8 +534,7 @@ struct CarlaPipeCommon::PrivateData { | |||||
| // ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
| CarlaPipeCommon::CarlaPipeCommon() noexcept | CarlaPipeCommon::CarlaPipeCommon() noexcept | ||||
| : pData(new PrivateData()), | |||||
| leakDetector_CarlaPipeCommon() | |||||
| : pData(new PrivateData()) | |||||
| { | { | ||||
| carla_debug("CarlaPipeCommon::CarlaPipeCommon()"); | carla_debug("CarlaPipeCommon::CarlaPipeCommon()"); | ||||
| } | } | ||||
| @@ -1112,8 +1111,7 @@ bool CarlaPipeCommon::_writeMsgBuffer(const char* const msg, const std::size_t s | |||||
| // ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
| CarlaPipeServer::CarlaPipeServer() noexcept | CarlaPipeServer::CarlaPipeServer() noexcept | ||||
| : CarlaPipeCommon(), | |||||
| leakDetector_CarlaPipeServer() | |||||
| : CarlaPipeCommon() | |||||
| { | { | ||||
| carla_debug("CarlaPipeServer::CarlaPipeServer()"); | carla_debug("CarlaPipeServer::CarlaPipeServer()"); | ||||
| } | } | ||||
| @@ -1485,8 +1483,7 @@ void CarlaPipeServer::writeHideMessage() const noexcept | |||||
| // ----------------------------------------------------------------------- | // ----------------------------------------------------------------------- | ||||
| CarlaPipeClient::CarlaPipeClient() noexcept | CarlaPipeClient::CarlaPipeClient() noexcept | ||||
| : CarlaPipeCommon(), | |||||
| leakDetector_CarlaPipeClient() | |||||
| : CarlaPipeCommon() | |||||
| { | { | ||||
| carla_debug("CarlaPipeClient::CarlaPipeClient()"); | carla_debug("CarlaPipeClient::CarlaPipeClient()"); | ||||
| } | } | ||||
| @@ -133,9 +133,8 @@ public: | |||||
| DocumentWindow("JucePluginUI", Colour(50, 50, 200), DocumentWindow::closeButton, false), | DocumentWindow("JucePluginUI", Colour(50, 50, 200), DocumentWindow::closeButton, false), | ||||
| fClosed(false), | fClosed(false), | ||||
| #ifdef CARLA_OS_MAC | #ifdef CARLA_OS_MAC | ||||
| fCocoaWrapper(), | |||||
| , fCocoaWrapper() | |||||
| #endif | #endif | ||||
| leakDetector_JucePluginUI() | |||||
| { | { | ||||
| setVisible(false); | setVisible(false); | ||||
| //setAlwaysOnTop(true); | //setAlwaysOnTop(true); | ||||
| @@ -296,8 +295,7 @@ public: | |||||
| fWindow(0), | fWindow(0), | ||||
| fIsVisible(false), | fIsVisible(false), | ||||
| fFirstShow(true), | fFirstShow(true), | ||||
| fEventProc(nullptr), | |||||
| leakDetector_X11PluginUI() | |||||
| fEventProc(nullptr) | |||||
| { | { | ||||
| fDisplay = XOpenDisplay(nullptr); | fDisplay = XOpenDisplay(nullptr); | ||||
| CARLA_SAFE_ASSERT_RETURN(fDisplay != nullptr,); | CARLA_SAFE_ASSERT_RETURN(fDisplay != nullptr,); | ||||
| @@ -39,8 +39,7 @@ class JucePluginWindow : public DocumentWindow | |||||
| public: | public: | ||||
| JucePluginWindow() | JucePluginWindow() | ||||
| : DocumentWindow("JucePluginWindow", Colour(50, 50, 200), DocumentWindow::closeButton, false), | : DocumentWindow("JucePluginWindow", Colour(50, 50, 200), DocumentWindow::closeButton, false), | ||||
| fClosed(false), | |||||
| leakDetector_JucePluginWindow() | |||||
| fClosed(false) | |||||
| { | { | ||||
| setVisible(false); | setVisible(false); | ||||
| //setAlwaysOnTop(true); | //setAlwaysOnTop(true); | ||||
| @@ -65,8 +65,7 @@ public: | |||||
| fMeterStyle(STYLE_DEFAULT), | fMeterStyle(STYLE_DEFAULT), | ||||
| fMeterBackground("#111111"), | fMeterBackground("#111111"), | ||||
| fMeterGradient(0, 0, 0, 0), | fMeterGradient(0, 0, 0, 0), | ||||
| fSmoothMultiplier(1), | |||||
| leakDetector_DigitalPeakMeter() | |||||
| fSmoothMultiplier(1) | |||||
| { | { | ||||
| updateGrandient(); | updateGrandient(); | ||||
| } | } | ||||