Quote:
Originally Posted by mespotine
Would it be possible and somehow useable to expose them to ReaScript?
Or is ReaScript not suitable for usage of them?
|
Exposing the PCM_sinks should be fairly easily possible.
Allowing ReaScripts to implement custom PCM_sources is trickier because Lua and Python are not real time safe. (Heap allocations, garbage collection...) That said, Reaper does have media source buffering so maybe it would work well enough most of the time anyway.
Eel ReaScript might not have the dynamic memory and garbage collection problem, but I wouldn't personally like a scripting feature that is only available from Eel code.