Use STDERR for all output in the Wine plugin hosts

This commit is contained in:
Robbert van der Helm
2021-05-18 13:39:49 +02:00
parent 09c2ed96ad
commit f7901266b7
+3 -3
View File
@@ -63,12 +63,12 @@ __cdecl
const std::string socket_endpoint_path(argv[3]); const std::string socket_endpoint_path(argv[3]);
const pid_t parent_pid = std::stoi(argv[4]); const pid_t parent_pid = std::stoi(argv[4]);
std::cout << "Initializing yabridge host version " << yabridge_git_version std::cerr << "Initializing yabridge host version " << yabridge_git_version
#ifdef __i386__ #ifdef __i386__
<< " (32-bit compatibility mode)" << " (32-bit compatibility mode)"
#endif #endif
<< std::endl; << std::endl;
std::cout << "Preparing to load " << plugin_type_to_string(plugin_type) std::cerr << "Preparing to load " << plugin_type_to_string(plugin_type)
<< " plugin at '" << plugin_location << "'" << std::endl; << " plugin at '" << plugin_location << "'" << std::endl;
// As explained in `Vst2Bridge`, the plugin has to be initialized in the // As explained in `Vst2Bridge`, the plugin has to be initialized in the
@@ -134,7 +134,7 @@ __cdecl
TerminateProcess(GetCurrentProcess(), 0); TerminateProcess(GetCurrentProcess(), 0);
}); });
std::cout << "Finished initializing '" << plugin_location << "'" std::cerr << "Finished initializing '" << plugin_location << "'"
<< std::endl; << std::endl;
// Handle Win32 messages and X11 events on a timer, just like in // Handle Win32 messages and X11 events on a timer, just like in