diff --git a/src/wine-host/bridges/vst2.h b/src/wine-host/bridges/vst2.h index 5f4a0491..154ea783 100644 --- a/src/wine-host/bridges/vst2.h +++ b/src/wine-host/bridges/vst2.h @@ -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 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