Version

menu_open
Wwise SDK 2021.1.14

◆ EstimateTimeToFirstReflection()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::ReverbEstimation::EstimateTimeToFirstReflection ( AkVector  in_environmentExtentMeters,
AkReal32 out_timeToFirstReflectionMs,
AkReal32  in_speedOfSound = 343.0f 
)

Estimate the time taken (in milliseconds) for the first reflection to reach the listener. This assumes the emitter and listener are both positioned in the centre of the environment.

Parameters
in_environmentExtentMeters Defines the dimensions of the environment (in meters) relative to the center; all components must be positive numbers.
out_timeToFirstReflectionMs Returns the time taken (in milliseconds) for the first reflection to reach the listener.
in_speedOfSound Defaults to 343.0 - the speed of sound in dry air. Must be > 0.

Definition at line 133 of file AkReverbEstimation.h.

References AK_Fail, AK_Success, AKASSERT, AkMin, AkVector::X, AkVector::Y, and AkVector::Z.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise