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