-
-
Notifications
You must be signed in to change notification settings - Fork 151
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A few more tweaks for AU hosting, WIP
Signed-off-by: falkTX <[email protected]>
- Loading branch information
Showing
3 changed files
with
132 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* Carla State utils | ||
* Copyright (C) 2012-2023 Filipe Coelho <[email protected]> | ||
* Copyright (C) 2012-2024 Filipe Coelho <[email protected]> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License as | ||
|
@@ -310,7 +310,7 @@ bool CarlaStateSave::fillFromXmlElement(const XmlElement* const xmlElement) | |
name = xmlSafeStringCharDup(text, false); | ||
else if (tag == "Label" || tag == "URI" || tag == "Identifier" || tag == "Setup") | ||
label = xmlSafeStringCharDup(text, false); | ||
else if (tag == "Binary" || tag == "Filename") | ||
else if (tag == "Binary" || tag == "Bundle" || tag == "Filename") | ||
binary = xmlSafeStringCharDup(text, false); | ||
else if (tag == "UniqueID") | ||
uniqueId = text.getLargeIntValue(); | ||
|
@@ -594,6 +594,7 @@ void CarlaStateSave::dumpToMemoryStream(MemoryOutputStream& content) const | |
infoXml << " <Label>" << xmlSafeString(label, true) << "</Label>\n"; | ||
break; | ||
case PLUGIN_AU: | ||
infoXml << " <Bundle>" << xmlSafeString(binary, true) << "</Bundle>\n"; | ||
infoXml << " <Identifier>" << xmlSafeString(label, true) << "</Identifier>\n"; | ||
break; | ||
case PLUGIN_CLAP: | ||
|