#include
Public Member Functions | |
virtual ERequestStatus | Update ()=0 |
virtual ERequestStatus | Set3DAttributes (SObject3DAttributes const &attributes)=0 |
virtual ERequestStatus | SetEnvironment (IEnvironment const *const pIEnvironment, float const amount)=0 |
virtual ERequestStatus | SetParameter (IParameter const *const pIParameter, float const value)=0 |
virtual ERequestStatus | SetSwitchState (ISwitchState const *const pISwitchState)=0 |
virtual ERequestStatus | SetObstructionOcclusion (float const obstruction, float const occlusion)=0 |
virtual ERequestStatus | ExecuteTrigger (ITrigger const *const pITrigger, IEvent *const pIEvent)=0 |
virtual ERequestStatus | StopAllTriggers ()=0 |
virtual ERequestStatus | PlayFile (IStandaloneFile *const pIStandaloneFile)=0 |
virtual ERequestStatus | StopFile (IStandaloneFile *const pIStandaloneFile)=0 |
virtual ERequestStatus | SetName (char const *const szName)=0 |
An implementation may use this interface to define a class for storing implementation-specific data needed for identifying and using the corresponding audio object (e.g. a middleware-specific unique ID)
|
pure virtual |
Activate a trigger on this audio object
pITrigger | - implementation-specific trigger to activate |
pIEvent | - implementation-specific event corresponding to this particular trigger activation |
|
pure virtual |
Play a stand alone audio file
pIStandaloneFile | - stand alone file to play |
|
pure virtual |
Set the 3D attributes of the audio object
attributes | - a struct containing the audio object's transformation and velocity |
|
pure virtual |
Set the provided value for the specified environment on the audio object
pIEnvironment | - implementation-specific environment to set |
amount | - the fade value for the provided IEnvironment, 0.0f means no effect at all, 1.0f corresponds to the full effect |
|
pure virtual |
Sets this audio object's name. Is only used during production whenever an entity's name is changed to adjust corresponding audio objects as well.
szName | - name to set. |
|
pure virtual |
Set the provided Obstruction and Occlusion values
obstruction | - the obstruction value to be set; it describes how much the direct sound path from the AudioObject to the Listener is obstructed |
occlusion | - the occlusion value to be set; it describes how much all sound paths (direct and indirect) are obstructed |
|
pure virtual |
Set the provided parameter to the specified value on the audio object
pIParameter | - implementation-specific parameter to set |
value | - the value to set the parameter to |
|
pure virtual |
Set the provided state (on a switch) on the audio object
pISwitchState | - implementation-specific state to set |
|
pure virtual |
Stop all triggers currently active on the audio object
|
pure virtual |
Stop currently playing standalone file
pIStandaloneFile | - file to stop playing |
|
pure virtual |
Performs actions that need to be executed regularly on an AudioObject. Called with every tick of the audio thread.