#include <audioenvironment.h>
Inheritance diagram for openalpp::AudioEnvironment:
Public Member Functions | |
AudioEnvironment () throw (InitError) | |
AudioEnvironment (int frequency, int refresh, bool synchronous) throw (InitError) | |
AudioEnvironment (int frequency, int refresh=-1) throw (InitError) | |
void | setSoundVelocity (float speed) throw (ValueError,FatalError) |
float | getSoundVelocity () throw (FatalError) |
void | setDopplerFactor (float factor) throw (ValueError,FatalError) |
float | getDopplerFactor () throw (FatalError) |
void | setGain (float gain) |
float | getGain () throw (FatalError) |
void | setDistanceModel (DistanceModel model) throw (FatalError) |
DistanceModel | getDistanceModel () throw (FatalError) |
void | initiateReverb () throw (InitError) |
|
Constructor. |
|
Constructor. The parameters are ignored if this isn't the first object to be instatiated of the AudioBase descendants.
|
|
Constructor. The parameters are ignored if this isn't the first object to be instatiated of the AudioBase descendants.
|
|
Gets the distance model used in attenuation calculations.
|
|
Gets the doppler factor.
|
|
Gets the global gain
|
|
Get the speed of sound in the enviroment.
|
|
Initiates Loki's reverb implementation. |
|
Sets the distance model used in attenuation calculations.
|
|
Sets the doppler factor. This can be used to exaggerate, deemphasize or completely turn off the doppler effect.
|
|
Sets global gain (volume). The volume a source will be played at will be multiplied by this _after_ the attenuation calculations. Note: In todays's implementation on Linux, gain is clamped to [0.0,1.0]. This will be changed in future releases of OpenAL.
|
|
Sets the speed of sound in the enviroment. This is used in doppler calculations.
|