Add leak detectors to carla and ildaeil
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
689b789a33
commit
749cafde2d
2 changed files with 10 additions and 0 deletions
|
|
@ -310,6 +310,8 @@ struct CarlaModule : Module {
|
||||||
0, 0, nullptr, e.sampleRate);
|
0, 0, nullptr, e.sampleRate);
|
||||||
fCarlaPluginDescriptor->activate(fCarlaPluginHandle);
|
fCarlaPluginDescriptor->activate(fCarlaPluginHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CarlaModule)
|
||||||
};
|
};
|
||||||
|
|
||||||
static_assert((int)CarlaModule::NUM_INPUTS == (int)CarlaModule::NUM_OUTPUTS, "inputs must match outputs");
|
static_assert((int)CarlaModule::NUM_INPUTS == (int)CarlaModule::NUM_OUTPUTS, "inputs must match outputs");
|
||||||
|
|
@ -561,6 +563,8 @@ struct CarlaModuleWidget : ModuleWidget, IdleCallback {
|
||||||
e.consume(this);
|
e.consume(this);
|
||||||
showUI();
|
showUI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(CarlaModuleWidget)
|
||||||
};
|
};
|
||||||
|
|
||||||
static void host_ui_closed(NativeHostHandle handle)
|
static void host_ui_closed(NativeHostHandle handle)
|
||||||
|
|
|
||||||
|
|
@ -483,6 +483,8 @@ struct IldaeilModule : Module {
|
||||||
0, 0, nullptr, e.sampleRate);
|
0, 0, nullptr, e.sampleRate);
|
||||||
fCarlaPluginDescriptor->activate(fCarlaPluginHandle);
|
fCarlaPluginDescriptor->activate(fCarlaPluginHandle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(IldaeilModule)
|
||||||
};
|
};
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------------------------------------
|
||||||
|
|
@ -1381,6 +1383,8 @@ struct IldaeilWidget : ImGuiWidget, IdleCallback, Thread {
|
||||||
|
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(IldaeilWidget)
|
||||||
};
|
};
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
@ -1435,6 +1439,8 @@ struct IldaeilModuleWidget : ModuleWidget {
|
||||||
addOutput(createInput<PJ301MPort>(Vec(3, 54 + 255), module, IldaeilModule::PW_INPUT));
|
addOutput(createInput<PJ301MPort>(Vec(3, 54 + 255), module, IldaeilModule::PW_INPUT));
|
||||||
addOutput(createInput<PJ301MPort>(Vec(3, 54 + 285), module, IldaeilModule::MW_INPUT));
|
addOutput(createInput<PJ301MPort>(Vec(3, 54 + 285), module, IldaeilModule::MW_INPUT));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DISTRHO_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(IldaeilModuleWidget)
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
static void host_ui_parameter_changed(NativeHostHandle, uint32_t, float) {}
|
static void host_ui_parameter_changed(NativeHostHandle, uint32_t, float) {}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue