Added: VST Plugin support. Add and configure plugins via Configuration Editor. The plugin's architecture has to match the OS architecture, so most people will need 64-bit plugins. The subdirectory plugins is offered to put plugins into, but they can be opened from any directory with sufficient permissions.

Fixed: When trying to add a high-pass filter in the Configuration Editor, it was instead configured to be a low-pass filter.
This commit is contained in:
jthedering committed 2017-06-17 13:04:35 +00:00
1 parent 989812ba36
commit a24eaa0cd9
58 files changed
+3334 -151

No files matched your search

+34
View File
@@ -163,3 +163,37 @@ wstring StringHelper::getSystemErrorString(long status)
else
return L"";
}
vector<wstring> StringHelper::splitQuoted(const wstring& s, wchar_t splitChar, wchar_t quoteChar)
{
vector<wstring> result;
bool inQuotes = false;
wstring current;
for (size_t i = 0; i < s.length(); i++)
{
wchar_t c = s[i];
if (c == splitChar && !inQuotes)
{
if (current != L"")
{
result.push_back(current);
current = L"";
}
}
else if (c == quoteChar)
{
inQuotes = !inQuotes;
if (inQuotes && i > 0 && s[i - 1] == quoteChar)
current += quoteChar;
}
else
{
current += c;
}
}
if (current != L"")
result.push_back(current);
return result;
}