Jamoma API  0.6.0.a19
TTResample.h
1 /*
2  * Resample
3  * Extension Class for Jamoma DSP
4  * Copyright © 2010, Timothy Place
5  *
6  * License: This code is licensed under the terms of the "New BSD License"
7  * http://creativecommons.org/licenses/BSD/
8  */
9 
10 #ifndef __TT_RESAMPLE_H__
11 #define __TT_RESAMPLE_H__
12 
13 #include "TTDSP.h"
14 
15 
16 /** Convert input to an output with different block size, sample rate, or other characteristics. */
19 
20 protected:
21 
22  TTAudioObjectBasePtr mResamplingFilter;
23  TTSymbol mDirection; // up or down
24  TTSymbol mMode; // staircase, third, fifth
25 
26 
27  TTErr setDirection(const TTValue& newDirection);
28  TTErr setMode(const TTValue& newMode);
29 
30  TTErr updateMaxNumChannels(const TTValue& oldMaxNumChannels, TTValue&);
31 
32  TTErr processAudio(TTAudioSignalArrayPtr inputs, TTAudioSignalArrayPtr outputs);
33 
34 };
35 
36 
37 #endif // __TT_RESAMPLE_H__
TTAudioObjectBase is the base class for all audio generating and processing objects in Jamoma DSP...
Jamoma DSP Library.
#define TTCLASS_SETUP(className)
TODO Doxygen: need more comments here.
Definition: TTFoundation.h:54
The TTSymbol class is used to represent a string and efficiently pass and compare that string...
Definition: TTSymbol.h:26
A simple container for an array of TTAudioSignal pointers.
TTErr
Jamoma Error Codes Enumeration of error codes that might be returned by any of the TTBlue functions a...
Definition: TTBase.h:342
Convert input to an output with different block size, sample rate, or other characteristics.
Definition: TTResample.h:17
[doxygenAppendixC_copyExample]
Definition: TTValue.h:34