Jack Server Settings; text selection in dialogs.

This commit is contained in:
Robin Davies
2021-08-31 02:40:17 -04:00
parent 6cb1300cc9
commit 2303a05cfc
17 changed files with 120 additions and 41 deletions
+7 -4
View File
@@ -86,11 +86,16 @@ static void ReleaseAccessPoint(const std::string gatewayAddress)
void delayedRestartProc()
{
sleep(1); // give a chance for websocket messages to propagate.
std::string pipedalConfigPath = std::filesystem::path(GetSelfExePath()).parent_path() / "pipedalConfig";
Lv2Log::error("Delayed Restart");
std::string pipedalConfigPath = std::filesystem::path(GetSelfExePath()).parent_path() / "pipedalconfig";
std::stringstream s;
s << pipedalConfigPath.c_str() << " --restart --excludeShutdownService";
::system(s.str().c_str());
if (::system(s.str().c_str())!= EXIT_SUCCESS)
{
Lv2Log::error("Delayed Restart failed.");
}
}
bool setJackConfiguration(JackServerSettings serverSettings)
@@ -247,8 +252,6 @@ private:
{
auto remainder = s.substr(strlen("setJackConfiguration "));
// xxx delete me
Lv2Log::error("setJackConfiguration: " + remainder);
std::stringstream input(remainder);
JackServerSettings serverSettings;