64 inline virtual const string&
getId()
const {
86 inline virtual const bool isFixed()
const {
virtual const bool isLooping() const
virtual void stop()=0
Stops this audio entity.
virtual void pause()=0
Pauses this audio entity.
virtual void play()=0
Plays this audio entity.
virtual const bool isFixed() const
virtual const Vector3 & getSourceVelocity() const
virtual bool initialize()=0
Initiates this OpenAL entity to OpenAl.
virtual void setLooping(bool looping)
Set looping.
AudioEntity(const string &id)
Constructor.
virtual void setGain(float gain)
Set up gain.
virtual void getSourceVelocity(const Vector3 &sourceVelocity)
Set source velocity.
virtual ~AudioEntity()
Constructor.
virtual void setPitch(float pitch)
Set up pitch.
virtual void update()=0
Commits properties to OpenAl.
virtual void setSourceDirection(const Vector3 &sourceDirection)
Set source direction.
virtual const Vector3 & getSourcePosition() const
virtual const float getGain() const
virtual const float getPitch() const
virtual void rewind()=0
Rewinds this audio entity.
virtual void dispose()=0
Dispose this entity from OpenAL.
virtual bool isPlaying()=0
virtual void setSourcePosition(const Vector3 &sourcePosition)
Set source position.
virtual const string & getId() const
virtual void setFixed(bool fixed)
Set this entity fixed, means the sound will always played no matter where the position and listener i...
virtual const Vector3 & getSourceDirection() const
Interface to audio module.