47 m_maxDistance(1000000.0),
50 m_coneInnerAngle(360.0),
51 m_coneOuterAngle(360.0),
void setRolloff(float rolloff)
Sets the AL_ROLEOFF_FACTOR.
void setGroupName(const std::string &name)
Sets the name of the group to which the emitter is added.
void setDirection(bool direction)
Sets if the sound should use the instance direction.
float getGain() const
Returns the gain of the emitter.
float getConeInnerAngle() const
Return inner angle of the sound cone, in degrees.
void setMaxGain(float gain)
Sets the max.
const AudioSpaceCoordinate & getVelocity() const
Return the velocity of the SoundEmitter in the virtual audio space.
void setReferenceDistance(float distance)
Sets the distance under which the volume for the SoundEmitter would normally drop by half (before bei...
void setRelativePositioning(bool relative)
Sets Positioning-Type Default is false.
void setPitch(float pitch)
Sets pitch multiplier.
DoublePoint3D AudioSpaceCoordinate
static Logger _log(LM_AUDIO)
float getPitch() const
Return pitch multiplier.
float getMaxDistance() const
Return the max distance.
bool isDirection() const
Return true if the Instance direction is used, false for undirected.
bool isLooping() const
Return playing mode.
void setConeOuterGain(float gain)
Sets the gain when outside the oriented cone.
void setMinGain(float gain)
Sets the min.
void setGain(float gain)
Sets the gain of the emitter.
void setSoundFileName(const std::string &name)
Sets the name of the sound file.
void setVelocity(const AudioSpaceCoordinate &velocity)
Sets the velocity of the SoundEmitter in the virtual audio space.
std::iterator_traits< octet_iterator >::difference_type distance(octet_iterator first, octet_iterator last)
float getRolloff() const
Return the AL_ROLEOFF_FACTOR.
float getMinGain() const
Returns the min.
void setConeInnerAngle(float inner)
Sets inner angle of the sound cone, in degrees.
void setMaxDistance(float distance)
Sets the max distance used with the Inverse Clamped Distance Model to set the distance where there wi...
void setConeOuterAngle(float outer)
Sets outer angle of the sound cone, in degrees.
float getMaxGain() const
Returns the max.
bool isRelativePositioning() const
Return Positioning-Type.
const std::string & getGroupName() const
Return the name of the group to which the emitter is added.
float getConeOuterAngle() const
Return outer angle of the sound cone, in degrees.
Create a Logger instance to communicate with LogManager Logger stores information about the current m...
float getConeOuterGain() const
Return the gain when outside the oriented cone.
float getReferenceDistance() const
Return the reference distance.
const std::string & getSoundFileName() const
Return the name of the sound file.
AudioSpaceCoordinate m_velocity
void setLooping(bool loop)
Sets the playing mode.