mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +02:00
Add specific logging functions for all the events
This commit is contained in:
@@ -123,7 +123,6 @@ HostBridge::HostBridge(audioMasterCallback host_callback)
|
||||
host_callback_function);
|
||||
}
|
||||
});
|
||||
|
||||
wine_io_handler = std::thread([&]() { io_context.run(); });
|
||||
|
||||
// Print the Wine host's STDOUT and STDERR streams to the log file
|
||||
@@ -199,6 +198,14 @@ void HostBridge::process_replacing(AEffect* /*plugin*/,
|
||||
}
|
||||
}
|
||||
|
||||
float HostBridge::get_parameter(AEffect* /*plugin*/, int32_t index) {
|
||||
const Parameter request{index, std::nullopt};
|
||||
write_object(host_vst_parameters, request);
|
||||
|
||||
const auto response = read_object<ParameterResult>(host_vst_parameters);
|
||||
return response.value.value();
|
||||
}
|
||||
|
||||
void HostBridge::set_parameter(AEffect* /*plugin*/,
|
||||
int32_t index,
|
||||
float value) {
|
||||
@@ -210,14 +217,6 @@ void HostBridge::set_parameter(AEffect* /*plugin*/,
|
||||
assert(!response.value.has_value());
|
||||
}
|
||||
|
||||
float HostBridge::get_parameter(AEffect* /*plugin*/, int32_t index) {
|
||||
const Parameter request{index, std::nullopt};
|
||||
write_object(host_vst_parameters, request);
|
||||
|
||||
const auto response = read_object<ParameterResult>(host_vst_parameters);
|
||||
return response.value.value();
|
||||
}
|
||||
|
||||
void HostBridge::async_log_pipe_lines(bp::async_pipe& pipe,
|
||||
boost::asio::streambuf& buffer,
|
||||
std::string prefix) {
|
||||
|
||||
Reference in New Issue
Block a user