RNBO: common/RNBO_ProcessInterface.h Source File 1 #ifndef _RNBO_PROCESSINTERFACE_H_ 2 #define _RNBO_PROCESSINTERFACE_H_ 3 4 #include "RNBO_Types.h" 5 #include "RNBO_BaseInterface.h" 6 7 namespace RNBO { 8 12 class ProcessInterface : public BaseInterface { 13 14 protected: 15 16 ~ProcessInterface() {} 17 18 public: 19 34 virtual void prepareToProcess(number sampleRate, Index maxBlockSize, bool force = false) = 0; 35 48 virtual void process(const SampleValue* const* audioInputs, Index numInputs, 49 SampleValue* const* audioOutputs, Index numOutputs, 50 Index sampleFrames) = 0; 51 52 }; 53 54 } // namespace RNBO 55 56 #endif // #ifndef _RNBO_PROCESSINTERFACE_H_