mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-13 07:42:15 +02:00
Implement the CLAP latency extension
This commit is contained in:
@@ -217,6 +217,13 @@ bool ClapLogger::log_request(
|
||||
});
|
||||
}
|
||||
|
||||
bool ClapLogger::log_request(bool is_host_plugin,
|
||||
const clap::ext::latency::plugin::Get& request) {
|
||||
return log_request_base(is_host_plugin, [&](auto& message) {
|
||||
message << request.instance_id << ": clap_plugin_latency::get()";
|
||||
});
|
||||
}
|
||||
|
||||
bool ClapLogger::log_request(bool is_host_plugin,
|
||||
const clap::plugin::StartProcessing& request) {
|
||||
return log_request_base(is_host_plugin, [&](auto& message) {
|
||||
@@ -343,6 +350,14 @@ bool ClapLogger::log_request(
|
||||
});
|
||||
}
|
||||
|
||||
bool ClapLogger::log_request(bool is_host_plugin,
|
||||
const clap::ext::latency::host::Changed& request) {
|
||||
return log_request_base(is_host_plugin, [&](auto& message) {
|
||||
message << request.owner_instance_id
|
||||
<< ": clap_host_latency::changed()";
|
||||
});
|
||||
}
|
||||
|
||||
bool ClapLogger::log_request(bool is_host_plugin,
|
||||
const clap::ext::tail::host::Changed& request) {
|
||||
return log_request_base(is_host_plugin, [&](auto& message) {
|
||||
|
||||
@@ -96,6 +96,8 @@ class ClapLogger {
|
||||
const clap::ext::params::plugin::ValueToText&);
|
||||
bool log_request(bool is_host_plugin,
|
||||
const clap::ext::params::plugin::TextToValue&);
|
||||
bool log_request(bool is_host_plugin,
|
||||
const clap::ext::latency::plugin::Get&);
|
||||
|
||||
// Audio thread control messages
|
||||
bool log_request(bool is_host_plugin, const clap::plugin::StartProcessing&);
|
||||
@@ -124,6 +126,8 @@ class ClapLogger {
|
||||
const clap::ext::params::host::Clear&);
|
||||
bool log_request(bool is_host_plugin,
|
||||
const clap::ext::params::host::RequestFlush&);
|
||||
bool log_request(bool is_host_plugin,
|
||||
const clap::ext::latency::host::Changed&);
|
||||
|
||||
// Audio thread callbacks
|
||||
bool log_request(bool is_host_plugin,
|
||||
|
||||
Reference in New Issue
Block a user