39
39
* Abstract interface used to implement audio processing algorithm
46
* Put data to be processed
48
virtual void putData(SFLDataFormat *inputData) = 0;
51
* Class implementing this interface must define this function
52
* for audio processing that require synchronization between spkrdata and
54
virtual void process(SFLDataFormat *inputData, SFLDataFormat *outputData) = 0;
57
* Class implementing this interface must define this function
58
* for audio processing that require synchronization between spkr and mic
63
virtual void process(SFLDataFormat *micData, SFLDataFormat *spkrData, SFLDataFormat *outputData) = 0;
46
virtual void reset (void) = 0;
49
* Put data to be processed
51
virtual void putData (SFLDataFormat *inputData, int nbBytes) = 0;
56
virtual int getData (SFLDataFormat *outputData) = 0;
59
* Class implementing this interface must define this function
60
* for audio processing that require synchronization between spkrdata and
62
virtual void process (SFLDataFormat *inputData, int nbBytes) = 0;
65
* Class implementing this interface must define this function
66
* for audio processing that require synchronization between spkrdata and
68
virtual int process (SFLDataFormat *inputData, SFLDataFormat *outputData, int nbBytes) = 0;
71
* Class implementing this interface must define this function
72
* for audio processing that require synchronization between spkr and mic
77
virtual void process (SFLDataFormat *micData, SFLDataFormat *spkrData, SFLDataFormat *outputData, int nbBytes) = 0;