In my livecoding VST, whenever the midi composition changes, I want to insert it on the same track that the VST is loaded on (and clear the track before calling InsertMedia), so I need to determine the track that the VST is on.
Reaper supports this via a callback that's similar to getting host function pointers (but passing 1 as the request param instead of 0):
https://www.reaper.fm/sdk/vst/vst_ext.php#vst_hostctx
Does reaper-rs already support this in some way? :)
In my livecoding VST, whenever the midi composition changes, I want to insert it on the same track that the VST is loaded on (and clear the track before calling
InsertMedia
), so I need to determine the track that the VST is on. Reaper supports this via a callback that's similar to getting host function pointers (but passing1
as therequest
param instead of0
): https://www.reaper.fm/sdk/vst/vst_ext.php#vst_hostctxDoes reaper-rs already support this in some way? :)