r8brain-free-src
High-quality pro audio sample rate converter library
Loading...
Searching...
No Matches
CDSPProcessor.h
Go to the documentation of this file.
1//$ nobt
2//$ nocpp
3
16#ifndef R8B_CDSPPROCESSOR_INCLUDED
17#define R8B_CDSPPROCESSOR_INCLUDED
18
19#include "r8bbase.h"
20
21namespace r8b {
22
32{
34
35public:
37 {
38 }
39
40 virtual ~CDSPProcessor()
41 {
42 }
43
61 virtual int getInLenBeforeOutPos( const int ReqOutPos ) const = 0;
62
69 virtual int getLatency() const = 0;
70
78 virtual double getLatencyFrac() const = 0;
79
87 virtual int getMaxOutLen( const int MaxInLen ) const = 0;
88
95 virtual void clear() = 0;
96
117 virtual int process( double* ip, int l0, double*& op0 ) = 0;
118};
119
120} // namespace r8b
121
122#endif // R8B_CDSPPROCESSOR_INCLUDED
The "base" inclusion file with basic classes and functions.
#define R8BNOCTOR(ClassName)
Definition: r8bbase.h:154
#define R8B_DSPBASECLASS
Definition: r8bconf.h:74
The "r8brain-free-src" library namespace.
Definition: CDSPBlockConvolver.h:21
The base virtual class for DSP processing algorithms.
Definition: CDSPProcessor.h:32
virtual int getMaxOutLen(const int MaxInLen) const =0
virtual void clear()=0
virtual int getInLenBeforeOutPos(const int ReqOutPos) const =0
virtual int process(double *ip, int l0, double *&op0)=0
virtual double getLatencyFrac() const =0
virtual int getLatency() const =0