#include <SpatialPanner.h>
Inheritance diagram for csl::SpatialPanner:

Public Member Functions | |
| SpatialPanner (SpeakerLayout *layout=SpeakerLayout::defaultSpeakerLayout()) | |
| Constructor - Optionally, a SpeakerLayout can be specified, otherwise the default is used. | |
| virtual | ~Panner () |
| void | setSpeakerLayout (SpeakerLayout *aLayout) |
| unsigned | numSources () |
| virtual void | addSource (SpatSource &s) |
| number of active inputs. Add a sound souce to the list of inputs to be processed. | |
| virtual void | removeSource (SpatSource &s) |
| Remove a Sound Source. | |
| virtual void | update (void *arg) |
| Called when the speaker layout changes, so panners update their data. | |
Protected Member Functions | |
| virtual void * | cache ()=0 |
| virtual void | speakerLayoutChanged () |
Protected Attributes | |
| vector< SpatSource * > | mSources |
| Vector of pointers to the loudspeakers. | |
| vector< void * > | mCache |
| Vector of pointers to the loudspeakers. For internal use of the Panner classes. | |
| SpeakerLayout * | mSpeakerLayout |
| If null, it will use the default layout by calling SpeakerLayout::defaultSpeakerLayout();. | |
| Buffer | mTempBuffer |
| Buffer used to temporarily hold input source data. | |
|
|
Constructor - Optionally, a SpeakerLayout can be specified, otherwise the default is used.
|
|
|
|
|
|
Set the speaker layout to be used by this panner. The panner will request the default layout if not set. |
|
|
|
|
|
number of active inputs. Add a sound souce to the list of inputs to be processed.
|
|
|
Remove a Sound Source.
|
|
|
Called when the speaker layout changes, so panners update their data. Called when the speaker layout changes, so panners update their data. This method is implemented only by the Panner class, and depending on the message sent, it calls the appropriate method implemented by subclasses. For example, when the speaker layout changes, the method calls "speakerLayoutChanged()", which should be implemented by subclasses interested to react to such change. Implements csl::Observer. |
|
|
|
|
|
|
|
|
Vector of pointers to the loudspeakers.
|
|
|
Vector of pointers to the loudspeakers. For internal use of the Panner classes.
|
|
|
If null, it will use the default layout by calling SpeakerLayout::defaultSpeakerLayout();.
|
|
|
Buffer used to temporarily hold input source data.
|
1.4.5-20051010