mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Reload supported interfaces after IPluginBase::initialize()
This is needed as a workaround to support Waves VST3 plugins. Right now does does not actually fix the issue because the arguments are not updated in the subclasses. The next commit will fix this.
This commit is contained in:
@@ -699,7 +699,7 @@ bool Vst3Logger::log_request(
|
||||
}
|
||||
|
||||
bool Vst3Logger::log_request(bool is_host_vst,
|
||||
const YaPluginBase::Initialize& request) {
|
||||
const Vst3PluginProxy::Initialize& request) {
|
||||
return log_request_base(is_host_vst, [&](auto& message) {
|
||||
message << request.instance_id
|
||||
<< ": IPluginBase::initialize(context = <FUnknown*>)";
|
||||
@@ -1468,6 +1468,12 @@ void Vst3Logger::log_response(bool is_host_vst,
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(
|
||||
bool is_host_vst,
|
||||
const Vst3PluginProxy::InitializeResponse& response) {
|
||||
log_response(is_host_vst, response.result);
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(
|
||||
bool is_host_vst,
|
||||
const Vst3PluginProxy::GetStateResponse& response) {
|
||||
|
||||
@@ -67,6 +67,7 @@ class Vst3Logger {
|
||||
bool log_request(bool is_host_vst, const Vst3PlugViewProxy::Destruct&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::Construct&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::Destruct&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::Initialize&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::SetState&);
|
||||
bool log_request(bool is_host_vst, const Vst3PluginProxy::GetState&);
|
||||
bool log_request(
|
||||
@@ -150,7 +151,6 @@ class Vst3Logger {
|
||||
bool log_request(
|
||||
bool is_host_vst,
|
||||
const YaPlugViewContentScaleSupport::SetContentScaleFactor&);
|
||||
bool log_request(bool is_host_vst, const YaPluginBase::Initialize&);
|
||||
bool log_request(bool is_host_vst, const YaPluginBase::Terminate&);
|
||||
bool log_request(bool is_host_vst, const YaPluginFactory3::SetHostContext&);
|
||||
bool log_request(
|
||||
@@ -252,6 +252,8 @@ class Vst3Logger {
|
||||
void log_response(
|
||||
bool is_host_vst,
|
||||
const std::variant<Vst3PluginProxy::ConstructArgs, UniversalTResult>&);
|
||||
void log_response(bool is_host_vst,
|
||||
const Vst3PluginProxy::InitializeResponse&);
|
||||
void log_response(bool is_host_vst,
|
||||
const Vst3PluginProxy::GetStateResponse&);
|
||||
void log_response(bool is_host_vst,
|
||||
|
||||
Reference in New Issue
Block a user