Jamoma API  0.6.0.a19
TTAudioGraphPick.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup audioGraphUtilityLib
4  *
5  * @brief pick≈: extract N specific audio signals from multichannel signal
6  *
7  * @details
8  *
9  * @authors Nils Peters
10  *
11  * @copyright Copyright © 2011 by Nils Peters @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 #include "TTAudioGraphPick.h"
17 
18 #define thisTTClass TTAudioGraphPick
19 #define thisTTClassName "audio.pick"
20 #define thisTTClassTags "audio, graph"
21 
22 
23 TT_AUDIO_CONSTRUCTOR,
24 mPickChannels(1),
25 outputNeedsResize(true)
26 {
28  setAttributeValue(TT("maxNumChannels"), arguments);
29  setProcessMethod(processAudio);
30 }
31 
32 
33 // Destructor
34 TTAudioGraphPick::~TTAudioGraphPick()
35 {
36  ;
37 }
38 
#define setProcessMethod(methodName)
A convenience macro to be used by subclasses for setting the process method.
16-bit unsigned integer, range is 0 through 65,535.
Definition: TTBase.h:276
#define TT
This macro is defined as a shortcut for doing a lookup in the symbol table.
Definition: TTSymbol.h:155
#define addAttributeWithGetterAndSetter(name, type)
A convenience macro to be used by subclasses for registering attributes with a custom getter and sett...
Definition: TTAttribute.h:57
pick≈: extract N specific audio signals from multichannel signal