nih-plug icon indicating copy to clipboard operation
nih-plug copied to clipboard

Handling Keyboard Events on the Audio Thread directly

Open nat3Github opened this issue 8 months ago • 1 comments

It would be nice to have a way to handle Keyboard events directly in the audio thread.

Implementation Idea: a Channel<KeyEvents> that gets shared between the WindowHandle and the audiothread, where duplicate KeyEvent messages get send to the audiothread.

rationale: lower latency when triggering audio with the keyboard than going around the editor gui thread, possibly processing that late and sending it again to the audio thread.

This is a feature request not a bug!

nat3Github avatar Jun 17 '24 12:06 nat3Github