Audaspace 1.5.0
A high level audio library.
|
The I3DHandle interface represents a playback handle for 3D sources. More...
#include <I3DHandle.h>
Public Member Functions | |
virtual | ~I3DHandle () |
Destroys the handle. | |
virtual Vector3 | getLocation ()=0 |
Retrieves the location of the source. | |
virtual bool | setLocation (const Vector3 &location)=0 |
Sets the location of the source. | |
virtual Vector3 | getVelocity ()=0 |
Retrieves the velocity of the source. | |
virtual bool | setVelocity (const Vector3 &velocity)=0 |
Sets the velocity of the source. | |
virtual Quaternion | getOrientation ()=0 |
Retrieves the orientation of the source. | |
virtual bool | setOrientation (const Quaternion &orientation)=0 |
Sets the orientation of the source. | |
virtual bool | isRelative ()=0 |
Checks whether the source location, velocity and orientation are relative to the listener. | |
virtual bool | setRelative (bool relative)=0 |
Sets whether the source location, velocity and orientation are relative to the listener. | |
virtual float | getVolumeMaximum ()=0 |
Retrieves the maximum volume of a source. | |
virtual bool | setVolumeMaximum (float volume)=0 |
Sets the maximum volume of a source. | |
virtual float | getVolumeMinimum ()=0 |
Retrieves the minimum volume of a source. | |
virtual bool | setVolumeMinimum (float volume)=0 |
Sets the minimum volume of a source. | |
virtual float | getDistanceMaximum ()=0 |
Retrieves the maximum distance of a source. | |
virtual bool | setDistanceMaximum (float distance)=0 |
Sets the maximum distance of a source. | |
virtual float | getDistanceReference ()=0 |
Retrieves the reference distance of a source. | |
virtual bool | setDistanceReference (float distance)=0 |
Sets the reference distance of a source. | |
virtual float | getAttenuation ()=0 |
Retrieves the attenuation of a source. | |
virtual bool | setAttenuation (float factor)=0 |
Sets the attenuation of a source. | |
virtual float | getConeAngleOuter ()=0 |
Retrieves the outer opening angle of the cone of a source. | |
virtual bool | setConeAngleOuter (float angle)=0 |
Sets the outer opening angle of the cone of a source. | |
virtual float | getConeAngleInner ()=0 |
Retrieves the inner opening angle of the cone of a source. | |
virtual bool | setConeAngleInner (float angle)=0 |
Sets the inner opening angle of the cone of a source. | |
virtual float | getConeVolumeOuter ()=0 |
Retrieves the outer volume of the cone of a source. | |
virtual bool | setConeVolumeOuter (float volume)=0 |
Sets the outer volume of the cone of a source. | |
The I3DHandle interface represents a playback handle for 3D sources.
If the playback IDevice class also implements the I3DDevice interface then all playback IHandle instances also implement this interface.
The interface has been modelled after the OpenAL 1.1 API, see the OpenAL Specification for lots of details.
|
pure virtual |
Retrieves the attenuation of a source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the inner opening angle of the cone of a source.
The volume inside this cone is unaltered.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the outer opening angle of the cone of a source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the outer volume of the cone of a source.
The volume between inner and outer angle is interpolated between inner volume and this value.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the maximum distance of a source.
If a source is further away from the reader than this distance, the volume will automatically be set to 0.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the reference distance of a source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the location of the source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the orientation of the source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the velocity of the source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the maximum volume of a source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Retrieves the minimum volume of a source.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Checks whether the source location, velocity and orientation are relative to the listener.
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the attenuation of a source.
This value is used for distance calculation.
factor | The new attenuation. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the inner opening angle of the cone of a source.
The volume inside this cone is unaltered.
angle | The new inner angle of the cone. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the outer opening angle of the cone of a source.
angle | The new outer angle of the cone. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the outer volume of the cone of a source.
The volume between inner and outer angle is interpolated between inner volume and this value.
volume | The new outer volume of the cone. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the maximum distance of a source.
If a source is further away from the reader than this distance, the volume will automatically be set to 0.
distance | The new maximum distance. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the reference distance of a source.
distance | The new reference distance. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the location of the source.
location | The new location. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the orientation of the source.
orientation | The new orientation as quaternion. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets whether the source location, velocity and orientation are relative to the listener.
relative | Whether the source is relative. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the velocity of the source.
velocity | The new velocity. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the maximum volume of a source.
volume | The new maximum volume. |
Implemented in SoftwareDevice::SoftwareHandle.
|
pure virtual |
Sets the minimum volume of a source.
volume | The new minimum volume. |
Implemented in SoftwareDevice::SoftwareHandle.