Print a warning when using Ardour

This commit is contained in:
Robbert van der Helm
2020-12-30 22:41:47 +01:00
parent ef53e3b050
commit 8d79bcfa02
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -50,8 +50,8 @@ Yabridge has been tested under the following hosts using Wine Staging 6.0:
| Carla 2.2 | :heavy_check_mark: | :heavy_check_mark: |
| REAPER 6.19 | :heavy_check_mark: | :heavy_check_mark: |
| Ardour 6.5 | :heavy_check_mark: | :warning: Plugins with multiple inputs or outputs might because Ardour does not yet support that |
| Mixbus 6.0.702 | :heavy_check_mark: | :warning: Same situation as with Ardour |
| Qtractor 0.9.19 | :heavy_check_mark: | :x: See [rncbc/qtractor#291](https://github.com/rncbc/qtractor/issues/291), this will be fixed in the next Qtractor release |
| Mixbus 6.0.702 | :heavy_check_mark: | Does not support VST3 |
| Renoise 3.2.4 | :heavy_check_mark: | Does not support VST3 |
Please let me know if there are any issues with other VST hosts.
+12
View File
@@ -20,6 +20,8 @@
#include "vst3-impls/plugin-factory.h"
#include "vst3-impls/plugin-proxy.h"
using namespace std::literals::string_literals;
// There are still some design decisions that need some more thought
// TODO: The documentation mentions that private communication through VST3's
// message system should be handled on a separate timer thread. Do we
@@ -125,6 +127,16 @@ Vst3PluginBridge::Vst3PluginBridge()
plugin_factory->host_application->getName(name);
}
// TODO: Remove this warning ocne Ardour supports multiple
// inputs and outputs
if (result == Steinberg::kResultOk && name == u"Ardour"s) {
logger.log(
"WARNING: Ardour currently does not support "
"plugins with multiple inputs or outputs. If you "
"get a Wine crash dialog or a plugin causes Ardour "
"to freeze, then this is likely the cause.");
}
return YaHostApplication::GetNameResponse{
.result = result,
.name = tchar_pointer_to_u16string(name),