mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-13 20:09:59 +02:00
Reword caching to prefetching
Since that makes it much clearer what we're actually doing. With old `cache_time_info` was actually caching the response, but now we're querying it before the plugin has even requested the information.
This commit is contained in:
@@ -568,8 +568,8 @@ void Vst2PluginBridge::do_process(T** inputs, T** outputs, int sample_frames) {
|
||||
current_time_info = *returned_time_info;
|
||||
}
|
||||
|
||||
// Some plugisn also ask for the current process level, so we'll cache that
|
||||
// information as well
|
||||
// Some plugisn also ask for the current process level, so we'll prefetch
|
||||
// that information as well
|
||||
const int current_process_level = static_cast<int>(host_callback_function(
|
||||
&plugin, audioMasterGetCurrentProcessLevel, 0, 0, nullptr, 0.0));
|
||||
if (returned_time_info) {
|
||||
|
||||
Reference in New Issue
Block a user