版本

menu_open

include/AK/SpatialAudio/Common/AkSpatialAudio.h文件参考

浏览该文件的源代码。

组合类型

struct   AkSpatialAudioInitSettings
  Initialization settings of the spatial audio module. 更多...
struct   AkEmitterSettings
  Settings for a sound emitter. 更多...
struct   AkTriangle
  Structure for describing information about individual triangles. 更多...
struct   AkSoundPathInfo
  Structure for retrieving information about the indirect paths of a sound that have been calculated via the geometric reflections API. 更多...
struct   AkPortalParams
  Parameters passed to AddPortal. 更多...
struct   AkRoomParams
  Parameters passed to AddRoom. 更多...

名字空间

namespace   AK
 

Audiokinetic namespace.


namespace   AK::SpatialAudio
 

Audiokinetic spatial audio namespace.


函数

AkMemPoolId __cdecl  AK::SpatialAudio::GetPoolID ()
  Access the internal pool ID passed to Init.
AKRESULT __cdecl  AK::SpatialAudio::Init (const AkSpatialAudioInitSettings &in_initSettings)
  Initialize the SpatialAudio API.
void __cdecl  AK::SpatialAudio::Term ()
  Terminate the SpatialAudio API.
AKRESULT __cdecl  AK::SpatialAudio::RegisterEmitter (AkGameObjectID in_gameObjectID, const AkEmitterSettings &in_roomSettings)
AKRESULT __cdecl  AK::SpatialAudio::UnregisterEmitter (AkGameObjectID in_gameObjectID)
AKRESULT __cdecl  AK::SpatialAudio::AddImageSource (const AkReflectImageSource &in_info, AkUniqueID in_AuxBusID, AkRoomID in_roomID, AkGameObjectID in_gameObjectID=AK_INVALID_GAME_OBJECT, const String &in_name="")
AKRESULT __cdecl  AK::SpatialAudio::RemoveImageSource (AkImageSourceID in_srcID, AkUniqueID in_AuxBusID, AkGameObjectID in_gameObjectID=AK_INVALID_GAME_OBJECT)
AKRESULT __cdecl  AK::SpatialAudio::SetEmitterAuxSendValues (AkGameObjectID in_gameObjectID, AkAuxSendValue *in_pAuxSends, AkUInt32 in_uNumAux)
AKRESULT __cdecl  AK::SpatialAudio::SetGameObjectInRoom (AkGameObjectID in_gameObjectID, AkRoomID in_CurrentRoomID)
AKRESULT __cdecl  AK::SpatialAudio::SetEmitterPosition (AkGameObjectID in_gameObjectID, const AkTransform &in_sourcePosition, const AkTransform *in_virtualPositions=NULL, AkUInt16 in_uNumVirtualPositions=0)
AKRESULT __cdecl  AK::SpatialAudio::AddGeometrySet (AkGeometrySetID in_GeomSetID, AkTriangle *in_pTriangles, AkUInt32 in_uNumTriangles)
AKRESULT __cdecl  AK::SpatialAudio::RemoveGeometrySet (AkGeometrySetID in_SetID)
AKRESULT __cdecl  AK::SpatialAudio::AddRoom (AkRoomID in_RoomID, const AkRoomParams &in_Params)
AKRESULT __cdecl  AK::SpatialAudio::RemoveRoom (AkRoomID in_RoomID)
AKRESULT __cdecl  AK::SpatialAudio::AddPortal (AkPortalID in_PortalID, const AkPortalParams &in_Params)
AKRESULT __cdecl  AK::SpatialAudio::RemovePortal (AkPortalID in_PortalID)
AKRESULT __cdecl  AK::SpatialAudio::QueryIndirectPaths (AkGameObjectID in_gameObjectID, AkVector &out_listenerPos, AkVector &out_emitterPos, AkSoundPathInfo *out_aPaths, AkUInt32 &io_uArraySize)
bool __cdecl  AK::SpatialAudio::CalcOcclusionAndVirtualPositions (const AkVector &in_EmitterPos, AkRoomID in_EmitterRoomID, const AkVector &in_ListenerPos, AkRoomID in_listenerRoomID, AkReal32 &out_fOcclusionFactor, AkReal32 &out_fObstructionFactor, AkTransform *io_aVirtualPositions, AkUInt32 &io_uArraySize)

详细描述

Spatial Audio interface.

在文件AkSpatialAudio.h中定义。


此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅