Update to latest carla
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
540dadf0d4
commit
2910b8ee4e
5 changed files with 7 additions and 10 deletions
|
@ -439,6 +439,7 @@ struct AidaPluginModule : Module {
|
|||
model = newmodel.release();
|
||||
|
||||
// if processing, wait for process cycle to complete
|
||||
using DISTRHO_NAMESPACE::d_msleep;
|
||||
while (oldmodel != nullptr && activeModel.load())
|
||||
d_msleep(1);
|
||||
|
||||
|
|
|
@ -629,11 +629,11 @@ struct IldaeilModule : Module {
|
|||
|
||||
CarlaEngine* const engine = carla_get_engine_from_handle(fCarlaHostHandle);
|
||||
|
||||
water::XmlDocument xml(projectState);
|
||||
water::XmlDocument xmlState{water::String(projectState)};
|
||||
|
||||
{
|
||||
const MutexLocker cml(sPluginInfoLoadMutex);
|
||||
engine->loadProjectInternal(xml, true);
|
||||
engine->loadProjectInternal(xmlState, true);
|
||||
}
|
||||
|
||||
projectLoadedFromDSP(fUI);
|
||||
|
@ -1664,7 +1664,7 @@ struct IldaeilWidget : ImGuiWidget, IdleCallback, Runner {
|
|||
// save plugin info into cache
|
||||
if (sha1sum != nullptr)
|
||||
{
|
||||
const water::String configDir(asset::config("Ildaeil"));
|
||||
const String configDir(asset::config("Ildaeil").c_str());
|
||||
const water::File cacheFile(configDir + CARLA_OS_SEP_STR "cache" CARLA_OS_SEP_STR + sha1sum);
|
||||
|
||||
if (cacheFile.create().ok())
|
||||
|
@ -1755,7 +1755,7 @@ struct IldaeilWidget : ImGuiWidget, IdleCallback, Runner {
|
|||
if (sha1sum == nullptr)
|
||||
return false;
|
||||
|
||||
const water::String configDir(asset::config("Ildaeil"));
|
||||
const String configDir(asset::config("Ildaeil").c_str());
|
||||
const water::File cacheFile(configDir + CARLA_OS_SEP_STR "cache" CARLA_OS_SEP_STR + sha1sum);
|
||||
|
||||
if (cacheFile.existsAsFile())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue