jvxgit / AudYoFlo

AudYoFlo repository for media processing in real-time
GNU General Public License v3.0
2 stars 2 forks source link

Support for variable framesize in VST code #1

Open jvxgit opened 1 year ago

jvxgit commented 1 year ago

Audacity supports VST plugins. But it does so by passing in buffers with variable framesize. There are two approaches which may be followed: 1) Collect data and run processing only if there is enough data in memory. We do not change threads. This is not goog for real-time processing as it may result in peak loads. 2) Collect data and run processing in a second thread. This, however, would not work well in batch processing. For this issue, extend the CjvxFlexibleConnection class to run buffered and multithreaded.