Pure Abstract Base Class for all distance cues. A DistanceCue subclass is just an algorithm that modifies a signal based on the distance from the listener. Distance Cues should hold their state, so when "process" is called they can modify the signal buffer given. When "compute" is called is usually due to a change in distance, so if anything has to be re-calculated, it's done.
More...
#include <DistanceSimulator.h>
List of all members.
Detailed Description
Pure Abstract Base Class for all distance cues. A DistanceCue subclass is just an algorithm that modifies a signal based on the distance from the listener. Distance Cues should hold their state, so when "process" is called they can modify the signal buffer given. When "compute" is called is usually due to a change in distance, so if anything has to be re-calculated, it's done.
Definition at line 47 of file DistanceSimulator.h.
Constructor & Destructor Documentation
| csl::DistanceCue::DistanceCue |
( |
| ) |
|
|
inline |
| virtual csl::DistanceCue::~DistanceCue |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| virtual void csl::DistanceCue::compute |
( |
float |
distance | ) |
|
|
pure virtual |
| virtual void csl::DistanceCue::process |
( |
Buffer & |
inputBuffer | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: