VST 3 SDK VST 3.7
SDK for developing VST plug-in
|
Process Data Slicer. More...
#include <processdataslicer.h>
Public Member Functions | |
ProcessDataSlicer (int32 inSliceSize=8) | |
Constructor. More... | |
template<SymbolicSampleSizes SampleSize, typename DoProcessCallback > | |
void | process (ProcessData &data, DoProcessCallback doProcessing) noexcept |
Process the data. More... | |
void | stop () noexcept |
Stop the slice process. More... | |
Process Data Slicer.
Cuts the VST process data into slices to process
Example:
|
inline |
Constructor.
inSliceSice | slice size in samples |
|
inlinenoexcept |
Process the data.
SampleSize | sample size 32 or 64 bit processing |
DoProcessCallback | the callback proc |
data | Process data |
doProcessing | process callback |
|
inlinenoexcept |
Stop the slice process.
If you want to break the slice processing early, you have to capture the slicer in the DoProcessCallback and call the stop method.