mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Add a notice when the host is in 23-bit mode
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
// Generated inside of build directory
|
// Generated inside of build directory
|
||||||
|
#include <src/common/config/config.h>
|
||||||
#include <src/common/config/version.h>
|
#include <src/common/config/version.h>
|
||||||
|
|
||||||
#include "plugin-bridge.h"
|
#include "plugin-bridge.h"
|
||||||
@@ -26,9 +27,14 @@ int main(int argc, char* argv[]) {
|
|||||||
// socket to connect to in plugin/bridge.cpp as the first two arguments of
|
// socket to connect to in plugin/bridge.cpp as the first two arguments of
|
||||||
// this process.
|
// this process.
|
||||||
if (argc < 3) {
|
if (argc < 3) {
|
||||||
std::cerr
|
std::cerr << "Usage: "
|
||||||
<< "Usage: yabridge-host.exe <vst_plugin_dll> <unix_domain_socket>"
|
#ifdef USE_BITBRIDGE
|
||||||
<< std::endl;
|
<< yabridge_wine_host_name_32bit
|
||||||
|
#else
|
||||||
|
<< yabridge_wine_host_name
|
||||||
|
#endif
|
||||||
|
<< " <vst_plugin_dll> <unix_domain_socket>" << std::endl;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -36,6 +42,9 @@ int main(int argc, char* argv[]) {
|
|||||||
const std::string socket_endpoint_path(argv[2]);
|
const std::string socket_endpoint_path(argv[2]);
|
||||||
|
|
||||||
std::cerr << "Initializing yabridge host version " << yabridge_git_version
|
std::cerr << "Initializing yabridge host version " << yabridge_git_version
|
||||||
|
#ifdef USE_BITBRIDGE
|
||||||
|
<< " (32-bit compatibility mode)"
|
||||||
|
#endif
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
try {
|
try {
|
||||||
PluginBridge bridge(plugin_dll_path, socket_endpoint_path);
|
PluginBridge bridge(plugin_dll_path, socket_endpoint_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user