mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-19 09:53:56 +02:00
Clean up proxy object construction/destruction
This commit is contained in:
@@ -148,6 +148,20 @@ class Vst3Bridge : public HostBridge {
|
||||
*/
|
||||
size_t generate_instance_id();
|
||||
|
||||
/**
|
||||
* Assign a unique identifier to an object and add it to `object_instances`.
|
||||
* This will also set up listeners for `IAudioProcessor` and `IComponent`
|
||||
* function calls.
|
||||
*/
|
||||
size_t register_object_instance(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
|
||||
/**
|
||||
* Remove an object from `object_instances`. Will also tear down the
|
||||
* `IAudioProcessor`/`IComponent` socket if it had one.
|
||||
*/
|
||||
void unregister_object_instance(size_t instance_id);
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
Reference in New Issue
Block a user