mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Fix grammar in comments
This commit is contained in:
@@ -94,11 +94,11 @@ void Editor::handle_events() {
|
|||||||
|
|
||||||
{
|
{
|
||||||
// Always send the `effEditIdle` event manually instead of relying on
|
// Always send the `effEditIdle` event manually instead of relying on
|
||||||
// the timer to match the update frequency with the native VST host.
|
// the timer to match the update frequency with that of the native VST
|
||||||
// Because some plugins, such as those using GDI+ like Serum, have data
|
// host. Because some plugins, such as those using GDI+ like Serum, have
|
||||||
// race issues when drawing at the same time as we're processing sound,
|
// data race issues when drawing at the same time as we're processing
|
||||||
// we'll update the GUI and process the resulting `WM_PAINT` event while
|
// sound, we'll update the GUI and process the resulting `WM_PAINT`
|
||||||
// temporarily blocking the processing thread.
|
// event while temporarily blocking the processing thread.
|
||||||
std::lock_guard lock(processing_mutex);
|
std::lock_guard lock(processing_mutex);
|
||||||
|
|
||||||
send_idle_event();
|
send_idle_event();
|
||||||
@@ -188,9 +188,8 @@ LRESULT CALLBACK window_proc(HWND handle,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We'll send idle messages on a timer. This way the plugin will get
|
// We'll send idle messages on a timer. This way the plugin will get
|
||||||
// these either when the host sends `effEditIdle` themself, or
|
// keep periodically updating its editor while the GUI is being
|
||||||
// periodically when the GUI is being blocked by a dropdown or a
|
// blocked by a dropdown or a message box.
|
||||||
// message box.
|
|
||||||
editor->send_idle_event();
|
editor->send_idle_event();
|
||||||
return 0;
|
return 0;
|
||||||
} break;
|
} break;
|
||||||
|
|||||||
Reference in New Issue
Block a user