40 friend class SequenceHandle;
55 std::shared_ptr<ISound> m_sound;
82 float m_distance_reference;
88 float m_cone_angle_outer;
91 float m_cone_angle_inner;
94 float m_cone_volume_outer;
97 std::recursive_mutex m_mutex;
127 SequenceEntry(std::shared_ptr<ISound> sound,
float begin,
float end,
float skip,
int id);
158 void move(
float begin,
float end,
float skip);
Defines the AnimateableProperty class as well as existing property types.
AnimateablePropertyType
Possible animatable properties for Sequencer Factories and Entries.
Definition: AnimateableProperty.h:35
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
This class saves animation data for float properties.
Definition: AnimateableProperty.h:47
This class provides an interface for lockable objects.
Definition: ILockable.h:34
This class represents a type of sound source and saves the necessary values for it.
Definition: ISound.h:40
This class represents a sequenced entry in a sequencer sound.
Definition: SequenceEntry.h:39
AnimateableProperty * getAnimProperty(AnimateablePropertyType type)
Retrieves one of the animated properties of the entry.
float getDistanceMaximum()
Retrieves the maximum distance of a source.
void move(float begin, float end, float skip)
Moves the entry.
int getID() const
Retrieves the ID of the entry.
float getVolumeMaximum()
Retrieves the maximum volume of a source.
void setVolumeMinimum(float volume)
Sets the minimum volume of a source.
void setDistanceReference(float distance)
Sets the reference distance of a source.
float getConeAngleInner()
Retrieves the inner angle of the cone of a source.
std::shared_ptr< ISound > getSound()
Retrieves the sound of the entry.
float getConeVolumeOuter()
Retrieves the outer volume of the cone of a source.
bool isRelative()
Checks whether the source location, velocity and orientation are relative to the listener.
float getVolumeMinimum()
Retrieves the minimum volume of a source.
float getDistanceReference()
Retrieves the reference distance of a source.
void setSound(std::shared_ptr< ISound > sound)
Sets the sound of the entry.
virtual void lock()
Locks the entry.
float getConeAngleOuter()
Retrieves the outer angle of the cone of a source.
void setAttenuation(float factor)
Sets the attenuation of a source.
void setVolumeMaximum(float volume)
Sets the maximum volume of a source.
void setConeVolumeOuter(float volume)
Sets the outer volume of the cone of a source.
SequenceEntry(std::shared_ptr< ISound > sound, float begin, float end, float skip, int id)
Creates a new sequenced entry.
void setConeAngleInner(float angle)
Sets the inner angle of the cone of a source.
void mute(bool mute)
Sets the muting state of the entry.
float getAttenuation()
Retrieves the attenuation of a source.
bool isMuted()
Retrieves the muting state of the entry.
void setRelative(bool relative)
Sets whether the source location, velocity and orientation are relative to the listener.
void setDistanceMaximum(float distance)
Sets the maximum distance of a source.
void setConeAngleOuter(float angle)
Sets the outer angle of the cone of a source.
virtual void unlock()
Unlocks the previously locked entry.