Audaspace 1.5.0
A high level audio library.
|
The I3DDevice interface represents an output device for 3D sound. More...
#include <I3DDevice.h>
Public Member Functions | |
virtual Vector3 | getListenerLocation () const =0 |
Retrieves the listener location. | |
virtual void | setListenerLocation (const Vector3 &location)=0 |
Sets the listener location. | |
virtual Vector3 | getListenerVelocity () const =0 |
Retrieves the listener velocity. | |
virtual void | setListenerVelocity (const Vector3 &velocity)=0 |
Sets the listener velocity. | |
virtual Quaternion | getListenerOrientation () const =0 |
Retrieves the listener orientation. | |
virtual void | setListenerOrientation (const Quaternion &orientation)=0 |
Sets the listener orientation. | |
virtual float | getSpeedOfSound () const =0 |
Retrieves the speed of sound. | |
virtual void | setSpeedOfSound (float speed)=0 |
Sets the speed of sound. | |
virtual float | getDopplerFactor () const =0 |
Retrieves the doppler factor. | |
virtual void | setDopplerFactor (float factor)=0 |
Sets the doppler factor. | |
virtual DistanceModel | getDistanceModel () const =0 |
Retrieves the distance model. | |
virtual void | setDistanceModel (DistanceModel model)=0 |
Sets the distance model. | |
The I3DDevice interface represents an output device for 3D sound.
The interface has been modelled after the OpenAL 1.1 API, see the OpenAL Specification for lots of details.
|
pure virtual |
Retrieves the distance model.
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Retrieves the doppler factor.
This value is a scaling factor for the velocity vectors of sources and listener which is used while calculating the doppler effect.
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Retrieves the listener location.
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Retrieves the listener orientation.
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Retrieves the listener velocity.
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Retrieves the speed of sound.
This value is needed for doppler effect calculation.
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Sets the distance model.
model | distance model. |
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Sets the doppler factor.
This value is a scaling factor for the velocity vectors of sources and listener which is used while calculating the doppler effect.
factor | The new doppler factor. |
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Sets the listener location.
location | The new location. |
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Sets the listener orientation.
orientation | The new orientation as quaternion. |
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Sets the listener velocity.
velocity | The new velocity. |
Implemented in SoftwareDevice, and OpenALDevice.
|
pure virtual |
Sets the speed of sound.
This value is needed for doppler effect calculation.
speed | The new speed of sound. |
Implemented in SoftwareDevice, and OpenALDevice.