41 friend class SequenceHandle;
56 std::shared_ptr<ISound> m_sound;
68 std::shared_ptr<SequenceData> m_sequence_data;
86 float m_distance_reference;
92 float m_cone_angle_outer;
95 float m_cone_angle_inner;
98 float m_cone_volume_outer;
101 std::recursive_mutex m_mutex;
132 SequenceEntry(std::shared_ptr<ISound> sound,
double begin,
double end,
double skip, std::shared_ptr<SequenceData> sequence_data,
int id);
163 void move(
double begin,
double end,
double 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:40
float getDistanceMaximum()
Retrieves the maximum distance of a source.
std::shared_ptr< ISound > getSound()
Retrieves the sound of the entry.
void move(double begin, double end, double skip)
Moves the entry.
SequenceEntry(std::shared_ptr< ISound > sound, double begin, double end, double skip, std::shared_ptr< SequenceData > sequence_data, int id)
Creates a new sequenced 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.
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.
void setConeAngleInner(float angle)
Sets the inner angle of the cone of a source.
AnimateableProperty * getAnimProperty(AnimateablePropertyType type)
Retrieves one of the animated properties of the entry.
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.