mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-16 08:23:55 +02:00
Allow resizing shared memory buffers in setActive
REAPER apparently changes bus arrangements between `IAudioProcessor::setupProcessing()` and `IAudioProcessor::setActive()`.
This commit is contained in:
@@ -1897,6 +1897,19 @@ void Vst3Logger::log_response(
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(bool is_host_vst,
|
||||
const YaComponent::SetActiveResponse& response) {
|
||||
log_response_base(is_host_vst, [&](auto& message) {
|
||||
message << response.result.string();
|
||||
if (response.result == Steinberg::kResultOk &&
|
||||
response.updated_audio_buffers_config) {
|
||||
message << ", <new shared memory configuration for \""
|
||||
<< response.updated_audio_buffers_config->name << "\", "
|
||||
<< response.updated_audio_buffers_config->size << " bytes>";
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
void Vst3Logger::log_response(
|
||||
bool is_host_vst,
|
||||
const YaPrefetchableSupport::GetPrefetchableSupportResponse& response) {
|
||||
|
||||
@@ -319,6 +319,7 @@ class Vst3Logger {
|
||||
bool from_cache = false);
|
||||
void log_response(bool is_host_vst,
|
||||
const YaComponent::GetRoutingInfoResponse&);
|
||||
void log_response(bool is_host_vst, const YaComponent::SetActiveResponse&);
|
||||
void log_response(
|
||||
bool is_host_vst,
|
||||
const YaPrefetchableSupport::GetPrefetchableSupportResponse&);
|
||||
|
||||
Reference in New Issue
Block a user