src/JackCommand.h
branchv_0
changeset 16 79520ded76f0
parent 15 463ce61415f1
child 17 4e6b33312c5a
--- a/src/JackCommand.h	Sun Oct 11 17:13:02 2020 +0200
+++ b/src/JackCommand.h	Wed Oct 14 17:45:48 2020 +0200
@@ -290,7 +290,7 @@
 		for (Configuration::ConnectionRecipe recipe : configuration.connectionRecipes) {
 			auto operation = recipe.connected ? jack_connect : jack_disconnect;
 			int result = operation(realTimeContext.jackClient, convertor.to_bytes(recipe.sourcePort).c_str(), convertor.to_bytes(recipe.destinationPort).c_str());
-			if (result != 0 && result != EEXIST) std::wcerr << L"Unable to " << (recipe.connected ? L"connect" : L"disconnect") << L": „" << recipe.sourcePort << L"“ to: „" << recipe.destinationPort << L"“." << std::endl;
+			if (result != 0 && result != EEXIST) std::wcerr << L"Unable to " << (recipe.connected ? L"connect" : L"disconnect") << L": „" << recipe.sourcePort << (recipe.connected ? L"“ to: „" : L"“ from: „") << recipe.destinationPort << L"“." << std::endl;
 		}
 	}