Go to the documentation of this file.
37 class AkAcousticPortal;
38 class AkImageSourceTriangle;
39 class AkImageSourcePlane;
41 #define AK_MAX_REFLECT_ORDER 4
42 #define AK_MAX_REFLECTION_PATH_LENGTH (AK_MAX_REFLECT_ORDER + 4)
43 #define AK_STOCHASTIC_RESERVE_LENGTH AK_MAX_REFLECTION_PATH_LENGTH
44 #define AK_MAX_SOUND_PROPAGATION_DEPTH 8
45 #define AK_MAX_SOUND_PROPAGATION_WIDTH 32 // Can not exceed 32 total sound propagation paths.
46 #define AK_SA_EPSILON (0.001f)
47 #define AK_SA_DIFFRACTION_EPSILON (0.01f) // Radians (~0.57 degrees)
48 #define AK_SA_DIFFRACTION_DOT_EPSILON (0.00005f) // 1.f - cos(AK_SA_DIFFRACTION_EPSILON)
49 #define AK_SA_PLANE_THICKNESS (0.01f)
50 #define AK_SA_MIN_ENVIRONMENT_ABSORPTION (0.01f)
51 #define AK_SA_MIN_ENVIRONMENT_SURFACE_AREA (1.0f)
74 namespace SpatialAudio
92 #define AK_INVALID_VERTEX ((AkVertIdx)(-1))
93 #define AK_INVALID_TRIANGLE ((AkTriIdx)(-1))
94 #define AK_INVALID_SURFACE ((AkSurfIdx)(-1))
95 #define AK_INVALID_EDGE ((AkEdgeIdx)(-1))
151 if (in_fromGameObject != OutdoorsGameObjID)
152 id.id = (
AkUInt64)in_fromGameObject;
176 namespace SpatialAudio
uint16_t AkUInt16
Unsigned 16-bit integer.
const AkUInt32 kDefaultDiffractionMaxPaths
Definition of data structures for AkAudioObject.
AkArrayAllocatorAlignedSimd< AkMemID_SpatialAudio > ArrayPoolSpatialAudioSIMD
const AkUInt32 kRayPoolBlockAllocItemCount
AkSet< AkRoomID, ArrayPoolSpatialAudio > AkRoomIDSet
AkArrayAllocatorNoAlign< AkMemID_SpatialAudioPaths > ArrayPoolSpatialAudioPaths
AkUInt64 AkGameObjectID
Game object ID.
bool operator!=(const AkSpatialAudioID &rhs) const
static AkRoomID FromGameObjectID(AkGameObjectID in_fromGameObject)
Conversion function used to convert to AkGameObjectIDs to AkRoomID.
bool operator!=(AkRoomHierarchyID rhs) const
AkArrayAllocatorAlignedSimd< AkMemID_SpatialAudioGeometry > ArrayPoolSpatialAudioGeometrySIMD
AkSpatialAudioID(AkUInt64 _id)
Construct from a 64-bit int.
AkString< ArrayPoolSpatialAudio, AkOSChar > OsString
OS string type for use in Wwise Spatial Audio.
AkSpatialAudioID(const void *ptr)
Conversion from a pointer to a AkSpatialAudioID.
AkString< ArrayPoolSpatialAudio, char > String
String type for use in Wwise Spatial Audio.
AkUInt16 AkEdgeReceptorIdx
AkSpatialAudioID AkGeometrySetID
AkGameObjectID AsGameObjectID() const
Conversion function used to convert AkRoomID's to AkGameObjectIDs.
AkRoomID(AkUInt64 _id)
Construct from a 64-bit int.
bool operator<(const AkSpatialAudioID &rhs) const
AkGameObjectID AsGameObjectID() const
Conversion function used internally to convert from a AkSpatialAudioID to a AkGameObjectID.
Base type for ID's used by Wwise spatial audio.
bool IsValid() const
Determine if this ID is valid.
const AkUInt32 kHashListBlockAllocItemCount
constexpr AkSpatialAudioID()
Default constructor. Creates an invalid ID.
bool operator<=(const AkSpatialAudioID &rhs) const
constexpr AkRoomID kOutdoorRoomID
The outdoor room ID. This room is created automatically and is typically used for outdoors,...
constexpr AkRoomID()
Default constructor. Creates an invalid ID.
AkRoomID(const void *ptr)
Conversion from a pointer to a AkRoomID.
uint64_t AkUInt64
Unsigned 64-bit integer.
AkDbString< ArrayPoolSpatialAudio, char > DbString
Instanced string type.
bool operator>(const AkSpatialAudioID &rhs) const
uint32_t AkUInt32
Unsigned 32-bit integer.
AkDbWeakString< ArrayPoolSpatialAudio, char > DbWeakString
Weak reference to DbString. Multi-thread reading is safe.
AkArrayAllocatorNoAlign< AkMemID_SpatialAudio > ArrayPoolSpatialAudio
bool operator==(AkRoomHierarchyID rhs) const
AkSpatialAudioID AkPortalID
AkArrayAllocatorAlignedSimd< AkMemID_SpatialAudioPaths > ArrayPoolSpatialAudioPathsSIMD
const AkUInt32 kDefaultDiffractionMaxEdges
const AkUInt32 kPortalToPortalDiffractionMaxPaths
AkString< ArrayPoolSpatialAudio, wchar_t > WString
Wide string type for use in Wwise Spatial Audio.
bool operator==(const AkSpatialAudioID &rhs) const
AkArrayAllocatorNoAlign< AkMemID_SpatialAudioGeometry > ArrayPoolSpatialAudioGeometry
AkRoomHierarchyID(AkRoomID in_roomID)
bool operator>=(const AkSpatialAudioID &rhs) const
const AkUInt32 kDiffractionMaxEdges
const AkUInt32 kDiffractionMaxPaths
AkSpatialAudioID AkGeometryInstanceID
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