mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +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:
@@ -556,16 +556,16 @@ struct AudioBuffers {
|
||||
int sample_frames;
|
||||
|
||||
/**
|
||||
* We'll send the current transport information as part of an audio
|
||||
* processing call. This lets us a void an unnecessary callback (or in some
|
||||
* cases, more than one) during every processing cycle.
|
||||
* We'll prefetch the current transport information as part of handling an
|
||||
* audio processing call. This lets us a void an unnecessary callback (or in
|
||||
* some cases, more than one) during every processing cycle.
|
||||
*/
|
||||
std::optional<VstTimeInfo> current_time_info;
|
||||
|
||||
/**
|
||||
* Some plugins will also ask for the current process level during audio
|
||||
* processing. To prevent unnecessary expensive callbacks, we'll send this
|
||||
* information along with the processing call.
|
||||
* processing. To prevent unnecessary expensive callbacks there, we'll
|
||||
* prefetch this information as well.
|
||||
*/
|
||||
int current_process_level;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user