Rearrange fields in Vst2Bridge

This commit is contained in:
Robbert van der Helm
2021-04-28 23:39:11 +02:00
parent 70adf5493e
commit 6cd1b664d3
+11 -11
View File
@@ -76,6 +76,17 @@ class Vst2Bridge : public HostBridge {
intptr_t host_callback(AEffect*, int, int, intptr_t, void*, float);
private:
/**
* A wrapper around `plugin->dispatcher` that handles the opening and
* closing of GUIs. Used inside of `handle_dispatch()`.
*/
intptr_t dispatch_wrapper(AEffect* plugin,
int opcode,
int index,
intptr_t value,
void* data,
float option);
/**
* A logger instance we'll use log cached `audioMasterGetTime()` calls, so
* they can be hidden on verbosity levels below 2.
@@ -93,17 +104,6 @@ class Vst2Bridge : public HostBridge {
*/
std::optional<VstTimeInfo> time_info;
/**
* A wrapper around `plugin->dispatcher` that handles the opening and
* closing of GUIs. Used inside of `handle_dispatch()`.
*/
intptr_t dispatch_wrapper(AEffect* plugin,
int opcode,
int index,
intptr_t value,
void* data,
float option);
/**
* The IO context used for event handling so that all events and window
* message handling can be performed from a single thread, even when hosting