Jamoma API  0.6.0.a19
TTSpatDBAPSource.cpp
Go to the documentation of this file.
1 /** @file
2  *
3  * @ingroup dspSpatLib
4  *
5  * @brief The #TTSpatDBAPSource class provides an extended description of a source as compared to the #TTSpatSource class that it inherits from.
6  *
7  * @details It is extended to describe source width.
8  *
9  * @authors Trond Lossius, Timothy Place, Nils Peters,
10  *
11  * @copyright Copyright © 2011 by Trond Lossius, Nils Peters, and Timothy Place @n
12  * This code is licensed under the terms of the "New BSD License" @n
13  * http://creativecommons.org/licenses/BSD/
14  */
15 
16 
17 #include "TTSpatDBAPSource.h"
18 
19 TTSpatDBAPSource::TTSpatDBAPSource()
20 {
21  ;
22 }
23 
24 
25 TTSpatDBAPSource::~TTSpatDBAPSource()
26 {
27 
28 }
29 
30 
31 void TTSpatDBAPSource::getWidth(TTFloat64& aWidth)
32 {
33  aWidth = mData[0];
34 }
35 
36 
37 void TTSpatDBAPSource::setWidth(TTFloat64 aWidth)
38 {
39  mData[0] = aWidth;
40 }
41 
double TTFloat64
64 bit floating point number
Definition: TTBase.h:188
The #TTSpatDBAPSource class provides an extended description of a source as compared to the TTSpatSou...