版本

menu_open
Wwise SDK 2023.1.2

#include <AkCommonDefs.h>

class  ArrayCustomMetadata
 Array type for carrying custom metadata. 更多...
 
struct  CustomMetadata
 Custom object metadata. 更多...
 

Public 类型

typedef AkString< AkPluginArrayAllocator, char > String
 String type for use in 3D audio objects. 更多...
 

Public 成员函数

 AkAudioObject ()
 Constructor 更多...
 
 ~AkAudioObject ()
 Destructor 更多...
 
void CopyContents (const AkAudioObject &in_src)
 Copies object metadata (everything but the key) from another object. 更多...
 
void TransferContents (AkAudioObject &in_src)
 Moves object metadata (everything but the key) from another object. 更多...
 
void SetCustomMetadata (CustomMetadata *in_aCustomMetadata, AkUInt32 in_uLength)
 
void Transfer (AkAudioObject &in_from)
 Transfer function for transfer move policies. 更多...
 
AKRESULT SetName (AK::IAkPluginMemAlloc *in_pAllocator, const char *in_szName)
 
void ResetState ()
 Reset object state in preparation for next frame. 更多...
 

Public 属性

AkAudioObjectID key
 Unique ID, local to a given bus. Only the lower 56 of 64 bits are used for the object itself. The highest 8 bits are available for channel indexing. 更多...
 
AkPositioningData positioning
 Positioning data for deferred 3D rendering. 更多...
 
AkRamp cumulativeGain
 Cumulative ramping gain to apply when mixing down to speaker bed or final endpoint 更多...
 
AkPipelineID instigatorID
 Profiling ID of the node from which the object stems (typically the voice, instance of an actor-mixer). 更多...
 
AkPriority priority
 Audio object playback priority. Object with a higher priority will be rendered using the hardware's object functionality on platforms that supports it, whereas objects with a lower priority will be downmixed to a lower resolution 3D bed. Audio object priorities should be retrieved, or set through IAkPluginServiceAudioObjectPriority to retain compatibility with future Wwise releases. 更多...
 
ArrayCustomMetadata arCustomMetadata
 Array of custom metadata, gathered from visited objects. Note: any custom metadata is expected to exist for only the current sound engine render tick, and persistent references to it should not be stored. 更多...
 
String objectName
 Name string of the object, to appear in the object profiler. This is normally used by out-of-place object processors for naming their output objects. Built-in sound engine structures don't use it. 更多...
 

静态 Public 属性

static const AkUInt64 kObjectKeyNumBits = 56
 
static const AkUInt64 kObjectKeyMask = (((AkUInt64)1 << kObjectKeyNumBits) - 1)
 

详细描述

An audio object refers to an audio signal with some attached metadata going through the sound engine pipeline. The AkAudioObject struct encapsulates the metadata part. The signal itself is contained in a separate AkAudioBuffer instance.

在文件 AkCommonDefs.h302 行定义.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅