mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Update old comments
This commit is contained in:
@@ -115,7 +115,6 @@ void Vst3Bridge::run() {
|
|||||||
overload{
|
overload{
|
||||||
[&](const Vst3PlugViewProxy::Destruct& request)
|
[&](const Vst3PlugViewProxy::Destruct& request)
|
||||||
-> Vst3PlugViewProxy::Destruct::Response {
|
-> Vst3PlugViewProxy::Destruct::Response {
|
||||||
// XXX: Not sure if his has to be run form the UI thread
|
|
||||||
main_context
|
main_context
|
||||||
.run_in_context<void>([&]() {
|
.run_in_context<void>([&]() {
|
||||||
// When the pointer gets dropped by the host, we want to
|
// When the pointer gets dropped by the host, we want to
|
||||||
@@ -847,9 +846,9 @@ void Vst3Bridge::run() {
|
|||||||
Steinberg::owned(new Vst3HostContextProxyImpl(
|
Steinberg::owned(new Vst3HostContextProxyImpl(
|
||||||
*this, std::move(request.host_context_args)));
|
*this, std::move(request.host_context_args)));
|
||||||
|
|
||||||
// XXX: Should `IPlugView::{initialize,terminate}` be run from
|
// Since plugins might want to start timers in
|
||||||
// the main UI thread? I can see how plugins would want to
|
// `IPlugView::{initialize,terminate}`, we'll run these
|
||||||
// start timers from here.
|
// functions from the main GUI thread
|
||||||
return main_context
|
return main_context
|
||||||
.run_in_context<tresult>([&]() {
|
.run_in_context<tresult>([&]() {
|
||||||
// This static cast is required to upcast to `FUnknown*`
|
// This static cast is required to upcast to `FUnknown*`
|
||||||
|
|||||||
Reference in New Issue
Block a user