#include <DistanceSimulator.h>

Public Member Functions | |
| DistanceSimulator (UnitGenerator &source) | |
| DistanceSimulator (SpatialSource &source) | |
| ~DistanceSimulator () | |
| virtual void | nextBuffer (Buffer &outputBuffer, unsigned outBufNum) throw (CException) |
| virtual bool | positionChanged () |
| Returns wether the sound source position changed since last block call. | |
Protected Attributes | |
| IntensityAttenuationCue * | mIntensityCue |
| AirAbsorptionCue * | mAirAbsorptionCue |
| DistanceSimulator::DistanceSimulator | ( | UnitGenerator & | source | ) |
| DistanceSimulator::DistanceSimulator | ( | SpatialSource & | source | ) |
| DistanceSimulator::~DistanceSimulator | ( | ) |
References mAirAbsorptionCue, and mIntensityCue.
| void DistanceSimulator::nextBuffer | ( | Buffer & | outputBuffer, | |
| unsigned | outBufNum | |||
| ) | throw (CException) [virtual] |
really compute the next buffer given an offset base channel; this is called by nextBuffer, possibly multiple times
Reimplemented from csl::SpatialSource.
References CSL_INPUT, csl::Port::mUGen, and csl::UnitGenerator::nextBuffer().
| bool DistanceSimulator::positionChanged | ( | ) | [virtual] |
Returns wether the sound source position changed since last block call.
Returns whether the sound source position changed since last block call.
Reimplemented from csl::SpatialSource.
References CSL_INPUT, and csl::Controllable::mInputs.
Referenced by DistanceSimulator(), and ~DistanceSimulator().
Referenced by DistanceSimulator(), and ~DistanceSimulator().
1.5.8