Version

menu_open
Wwise SDK 2021.1.14
AkSpatialAudioTypes.h File Reference

Go to the source code of this file.

Classes

struct   AkSpatialAudioID
  Base type for ID's used by Wwise spatial audio.
More...
 
struct   AkRoomID
 

Namespaces

namespace   AK
  Audiokinetic namespace.
 
  AK::SpatialAudio
  Audiokinetic spatial audio namespace.
 

Macros

#define  AK_MAX_REFLECT_ORDER   4
 
#define  AK_MAX_REFLECTION_PATH_LENGTH   (AK_MAX_REFLECT_ORDER + 4)
 
#define  AK_MAX_SOUND_PROPAGATION_DEPTH   8
 
#define  AK_DEFAULT_DIFFR_SHADOW_DEGREES   (30.0f)
 
#define  AK_DEFAULT_DIFFR_SHADOW_ATTEN   (1.0f)
 
#define  AK_DEFAULT_MOVEMENT_THRESHOLD   (1.0f)
 
#define  AK_DEFAULT_REFLECTIONS_ORDER   (1)
 
#define  AK_SA_EPSILON   (0.001f)
 
#define  AK_SA_DIFFRACTION_EPSILON   (0.002f)
 
#define  AK_SA_DIFFRACTION_DOT_EPSILON   (0.000002)
 
#define  AK_SA_PLANE_THICKNESS_RATIO   (0.005f)
 
#define  AK_SA_MIN_ENVIRONMENT_ABSORPTION   (0.1f)
 
#define  AK_SA_MIN_ENVIRONMENT_SURFACE_AREA   (1.0f)
 
#define  AK_INVALID_VERTEX   ((AkVertIdx)(-1))
 
#define  AK_INVALID_TRIANGLE   ((AkTriIdx)(-1))
 
#define  AK_INVALID_SURFACE   ((AkSurfIdx)(-1))
 
#define  AK_INVALID_EDGE   ((AkEdgeIdx)(-1))
 

Typedefs

typedef AkArrayAllocatorNoAlign< AkMemID_SpatialAudio ArrayPoolSpatialAudio
 
typedef AkArrayAllocatorAlignedSimd< AkMemID_SpatialAudio ArrayPoolSpatialAudioSIMD
 
typedef AkArrayAllocatorNoAlign< AkMemID_SpatialAudioPaths ArrayPoolSpatialAudioPaths
 
typedef AkArrayAllocatorAlignedSimd< AkMemID_SpatialAudioPaths ArrayPoolSpatialAudioPathsSIMD
 
typedef AkArrayAllocatorNoAlign< AkMemID_SpatialAudioGeometry ArrayPoolSpatialAudioGeometry
 
typedef AkArrayAllocatorAlignedSimd< AkMemID_SpatialAudioGeometry ArrayPoolSpatialAudioGeometrySIMD
 
typedef AkString< ArrayPoolSpatialAudio, wchar_t >  AK::SpatialAudio::WString
  Wide string type for use in Wwise Spatial Audio. More...
 
typedef AkString< ArrayPoolSpatialAudio, AkOSChar AK::SpatialAudio::OsString
  OS string type for use in Wwise Spatial Audio. More...
 
typedef AkString< ArrayPoolSpatialAudio, char >  AK::SpatialAudio::String
  String type for use in Wwise Spatial Audio. More...
 
typedef AkDbString< ArrayPoolSpatialAudio, char, CAkLock AK::SpatialAudio::DbString
  Instanced string type. More...
 
typedef AkUInt16  AK::SpatialAudio::Idx
 
typedef AkUInt16  AkVertIdx
 
typedef AkUInt16  AkTriIdx
 
typedef AkUInt16  AkSurfIdx
 
typedef AkUInt16  AkEdgeIdx
 
typedef AkSpatialAudioID  AkPortalID
 
typedef AkSpatialAudioID  AkGeometrySetID
 

Variables

const AkReal32  kDefaultMaxPathLength = 100.f
 
const AkUInt32  kDefaultDiffractionMaxEdges = 8
 
const AkUInt32  kDefaultDiffractionMaxPaths = 8
 
const AkReal32  kMaxDiffraction = 1.0f
 
const AkUInt32  kDiffractionMaxEdges = 8
 
const AkUInt32  kDiffractionMaxPaths = 8
 
const AkUInt32  kPortalToPortalDiffractionMaxPaths = 8
 
static const AkRoomID  AK::SpatialAudio::kOutdoorRoomID = AkRoomID()
  The outdoor room ID. This room is created automatically and is typically used for outdoors, i.e. when not in a room. More...
 

Detailed Description

Spatial audio data type definitions.

Definition in file AkSpatialAudioTypes.h.


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