目录

Wwise SDK 2018.1.11
AkTypes.h 文件参考

浏览源代码.

struct   AkAudioSettings
  Configured audio settings 更多...
 
struct   AkExternalSourceInfo
 
struct   AkVector
  3D vector. 更多...
 
class   AkTransform
  Position and orientation of game objects. 更多...
 
struct   AkObstructionOcclusionValues
  Obstruction/occlusion pair for a position 更多...
 
struct   AkChannelEmitter
  Positioning information for a sound, with specified subset of its channels. 更多...
 
struct   AkPolarCoord
  Polar coordinates. 更多...
 
struct   AkSphericalCoord
  Spherical coordinates. 更多...
 
class   AkEmitterListenerPair
  Emitter-listener pair: Positioning data pertaining to a single pair of emitter and listener. 更多...
 
struct   AkListener
  Listener information. 更多...
 
struct   AkAuxSendValue
  Auxiliary bus sends information per game object per given auxiliary bus. 更多...
 
struct   AkRamp
  Volume ramp specified by end points "previous" and "next". 更多...
 
struct   WwiseObjectIDext
 
struct   WwiseObjectID
 
struct   AkFileParser::EnvelopePoint
  Analyzed envelope point. 更多...
 

命名空间

namespace   AK
  Audiokinetic namespace
 
  AK::SoundEngine
 
  AkFileParser
  Public data structures for converted file format.
 

宏定义

#define  NULL   ((void *)0)
 
#define  AK_POINTER_64
 
#define  AKCURVEINTERPOLATION_NUM_STORAGE_BIT   5
  Internal storage restriction, for internal use only. 更多...
 
#define  AK_MEMPOOLATTRIBUTES
 
#define  AK_MAX_LANGUAGE_NAME_SIZE   (32)
 
#define  AKCOMPANYID_AUDIOKINETIC   (0)
  Audiokinetic inc. 更多...
 
#define  AKCOMPANYID_AUDIOKINETIC_EXTERNAL   (1)
  Audiokinetic inc. 更多...
 
#define  AKCOMPANYID_MCDSP   (256)
  McDSP 更多...
 
#define  AKCOMPANYID_WAVEARTS   (257)
  WaveArts 更多...
 
#define  AKCOMPANYID_PHONETICARTS   (258)
  Phonetic Arts 更多...
 
#define  AKCOMPANYID_IZOTOPE   (259)
  iZotope 更多...
 
#define  AKCOMPANYID_CRANKCASEAUDIO   (261)
  Crankcase Audio 更多...
 
#define  AKCOMPANYID_IOSONO   (262)
  IOSONO 更多...
 
#define  AKCOMPANYID_AUROTECHNOLOGIES   (263)
  Auro Technologies 更多...
 
#define  AKCOMPANYID_DOLBY   (264)
  Dolby 更多...
 
#define  AKCOMPANYID_TWOBIGEARS   (265)
  Two Big Ears 更多...
 
#define  AKCOMPANYID_OCULUS   (266)
  Oculus 更多...
 
#define  AKCOMPANYID_BLUERIPPLESOUND   (267)
  Blue Ripple Sound 更多...
 
#define  AKCOMPANYID_ENZIEN   (268)
  Enzien Audio 更多...
 
#define  AKCOMPANYID_KROTOS   (269)
  Krotos (Dehumanizer) 更多...
 
#define  AKCOMPANYID_NURULIZE   (270)
  Nurulize 更多...
 
#define  AKCOMPANYID_SUPERPOWERED   (271)
  Super Powered 更多...
 
#define  AKCOMPANYID_GOOGLE   (272)
  Google 更多...
 
#define  AKCOMPANYID_VISISONICS   (277)
  Visisonics 更多...
 
#define  AKCODECID_BANK   (0)
  Bank encoding 更多...
 
#define  AKCODECID_PCM   (1)
  PCM encoding 更多...
 
#define  AKCODECID_ADPCM   (2)
  ADPCM encoding 更多...
 
#define  AKCODECID_XMA   (3)
  XMA encoding 更多...
 
#define  AKCODECID_VORBIS   (4)
  Vorbis encoding 更多...
 
#define  AKCODECID_WIIADPCM   (5)
  ADPCM encoding on the Wii 更多...
 
#define  AKCODECID_PCMEX   (7)
  Standard PCM WAV file parser for Wwise Authoring 更多...
 
#define  AKCODECID_EXTERNAL_SOURCE   (8)
  External Source (unknown encoding) 更多...
 
#define  AKCODECID_XWMA   (9)
  xWMA encoding 更多...
 
#define  AKCODECID_AAC   (10)
  AAC encoding (only available on Apple devices) – see AkAACFactory.h 更多...
 
#define  AKCODECID_FILE_PACKAGE   (11)
  File package files generated by the File Packager utility. 更多...
 
#define  AKCODECID_ATRAC9   (12)
  ATRAC-9 encoding 更多...
 
#define  AKCODECID_VAG   (13)
  VAG/HE-VAG encoding 更多...
 
#define  AKCODECID_PROFILERCAPTURE   (14)
  Profiler capture file (.prof) as written through AK::SoundEngine::StartProfilerCapture 更多...
 
#define  AKCODECID_ANALYSISFILE   (15)
  Analysis file 更多...
 
#define  AKCODECID_MIDI   (16)
  MIDI file 更多...
 
#define  AKCODECID_OPUSNX   (17)
  OpusNX encoding 更多...
 
#define  AKCODECID_CAF   (18)
  CAF file 更多...
 
#define  AKCODECID_AKOPUS   (19)
  Opus encoding 更多...
 
#define  AKPLUGINID_METER   (129)
  Meter Plugin 更多...
 
#define  AKPLUGINID_RECORDER   (132)
  Recorder Plugin 更多...
 
#define  AKEXTENSIONID_SPATIALAUDIO   (800)
  Spatial Audio 更多...
 
#define  AKEXTENSIONID_INTERACTIVEMUSIC   (801)
  Interactive Music 更多...
 
#define  AK_WAVE_FORMAT_VAG   0xFFFB
 
#define  AK_WAVE_FORMAT_AT9   0xFFFC
 
#define  AK_WAVE_FORMAT_VORBIS   0xFFFF
 
#define  AK_WAVE_FORMAT_AAC   0xAAC0
 
#define  AK_WAVE_FORMAT_OPUSNX   0x3039
 
#define  AK_WAVE_FORMAT_OPUS   0x3040
 
#define  WAVE_FORMAT_XMA2   0x166
 
#define  AK_PANNER_NUM_STORAGE_BITS   3
 
#define  AK_POSSOURCE_NUM_STORAGE_BITS   3
 
#define  AK_SPAT_NUM_STORAGE_BITS   3
 
#define  AK_MAX_BITS_METERING_FLAGS   (5)
 
#define  AK_OS_STRUCT_ALIGN   4
  OS Structures need to be aligned at 4 bytes. 更多...
 
#define  AK_64B_OS_STRUCT_ALIGN   8
  OS Structures need to be aligned at 8 bytes. 更多...
 
#define  AK_ALIGN(__declaration__, uAlignmentSize)   __declaration__
  Default definition for declaration that might need to be aligned on some platforms. By default, no alignment will be done. 更多...
 
#define  AK_ENDIANNESS_LITTLE
 
#define  AK_UNALIGNED
  Refers to the __unaligned compilation flag available on some platforms. Note that so far, on the tested platform this should always be placed before the pointer symbol *. 更多...
 
#define  AK_FINAL
 
#define  AK_ASYNC_OPEN_DEFAULT   (false)
  Refers to asynchronous file opening in default low-level IO. 更多...
 
#define  AK_COMM_DEFAULT_DISCOVERY_PORT   24024
  Default discovery port for most platforms using IP sockets for communication. 更多...
 
#define  AkRegister
 

类型定义

typedef AkInt32  AkAtomic32
  Signed 32-bit integer - Atomic Declaration 更多...
 
typedef AkInt64  AkAtomic64
  Signed 64-bit integer - Atomic Declaration 更多...
 
typedef AkUInt32  AkAtomicU32
  Unsigned 32-bit integer - Atomic Declaration 更多...
 
typedef AkIntPtr  AkAtomicPtr
  Signed platform sized integer - Atomic Declaration 更多...
 
typedef AkUInt32  AkUniqueID
  Unique 32-bit ID 更多...
 
typedef AkUInt32  AkStateID
  State ID 更多...
 
typedef AkUInt32  AkStateGroupID
  State group ID 更多...
 
typedef AkUInt32  AkPlayingID
  Playing ID 更多...
 
typedef AkInt32  AkTimeMs
  Time in ms 更多...
 
typedef AkUInt16  AkPortNumber
  Port number 更多...
 
typedef AkReal32  AkPitchValue
  Pitch value 更多...
 
typedef AkReal32  AkVolumeValue
  Volume value( also apply to LFE ) 更多...
 
typedef AkUInt64  AkGameObjectID
  Game object ID 更多...
 
typedef AkReal32  AkLPFType
  Low-pass filter type 更多...
 
typedef AkInt32  AkMemPoolId
  Memory pool ID 更多...
 
typedef AkUInt32  AkPluginID
  Source or effect plug-in ID 更多...
 
typedef AkUInt32  AkCodecID
  Codec plug-in ID 更多...
 
typedef AkUInt32  AkAuxBusID
  Auxilliary bus ID 更多...
 
typedef AkInt16  AkPluginParamID
  Source or effect plug-in parameter ID 更多...
 
typedef AkInt8  AkPriority
  Priority 更多...
 
typedef AkUInt16  AkDataCompID
  Data compression format ID 更多...
 
typedef AkUInt16  AkDataTypeID
  Data sample type ID 更多...
 
typedef AkUInt8  AkDataInterleaveID
  Data interleaved state ID 更多...
 
typedef AkUInt32  AkSwitchGroupID
  Switch group ID 更多...
 
typedef AkUInt32  AkSwitchStateID
  Switch ID 更多...
 
typedef AkUInt32  AkRtpcID
  Real time parameter control ID 更多...
 
typedef AkReal32  AkRtpcValue
  Real time parameter control value 更多...
 
typedef AkUInt32  AkBankID
  Run time bank ID 更多...
 
typedef AkUInt32  AkFileID
  Integer-type file identifier 更多...
 
typedef AkUInt32  AkDeviceID
  I/O device ID 更多...
 
typedef AkUInt32  AkTriggerID
  Trigger ID 更多...
 
typedef AkUInt32  AkArgumentValueID
  Argument value ID 更多...
 
typedef AkUInt32  AkChannelMask
  Channel mask (similar to WAVE_FORMAT_EXTENSIBLE). Bit values are defined in AkSpeakerConfig.h. 更多...
 
typedef AkUInt32  AkModulatorID
  Modulator ID 更多...
 
typedef AkUInt32  AkAcousticTextureID
  Acoustic Texture ID 更多...
 
typedef AkUInt32  AkImageSourceID
  Image Source ID 更多...
 
typedef AkUInt64  AkOutputDeviceID
  Audio Output device ID 更多...
 
typedef AkTransform  AkSoundPosition
  Positioning information for a sound. 更多...
 
typedef AkTransform  AkListenerPosition
  Positioning information for a listener. 更多...
 
typedef IAkSoftwareCodec *(*  AkCreateFileSourceCallback) (void *in_pCtx)
  Registered file source creation function prototype. 更多...
 
typedef IAkSoftwareCodec *(*  AkCreateBankSourceCallback) (void *in_pCtx)
  Registered bank source node creation function prototype. 更多...
 
typedef AkInt16  AkCaptureType
  Default value: capture type is short. 更多...
 

枚举

enum   AKRESULT {
  AK_NotImplemented = 0, AK_Success = 1, AK_Fail = 2, AK_PartialSuccess = 3,
  AK_NotCompatible = 4, AK_AlreadyConnected = 5, AK_NameNotSet = 6, AK_InvalidFile = 7,
  AK_AudioFileHeaderTooLarge = 8, AK_MaxReached = 9, AK_InputsInUsed = 10, AK_OutputsInUsed = 11,
  AK_InvalidName = 12, AK_NameAlreadyInUse = 13, AK_InvalidID = 14, AK_IDNotFound = 15,
  AK_InvalidInstanceID = 16, AK_NoMoreData = 17, AK_NoSourceAvailable = 18, AK_StateGroupAlreadyExists = 19,
  AK_InvalidStateGroup = 20, AK_ChildAlreadyHasAParent = 21, AK_InvalidLanguage = 22, AK_CannotAddItseflAsAChild = 23,
  AK_UserNotInList = 29, AK_NoTransitionPoint = 30, AK_InvalidParameter = 31, AK_ParameterAdjusted = 32,
  AK_IsA3DSound = 33, AK_NotA3DSound = 34, AK_ElementAlreadyInList = 35, AK_PathNotFound = 36,
  AK_PathNoVertices = 37, AK_PathNotRunning = 38, AK_PathNotPaused = 39, AK_PathNodeAlreadyInList = 40,
  AK_PathNodeNotInList = 41, AK_VoiceNotFound = 42, AK_DataNeeded = 43, AK_NoDataNeeded = 44,
  AK_DataReady = 45, AK_NoDataReady = 46, AK_NoMoreSlotAvailable = 47, AK_SlotNotFound = 48,
  AK_ProcessingOnly = 49, AK_MemoryLeak = 50, AK_CorruptedBlockList = 51, AK_InsufficientMemory = 52,
  AK_Cancelled = 53, AK_UnknownBankID = 54, AK_IsProcessing = 55, AK_BankReadError = 56,
  AK_InvalidSwitchType = 57, AK_VoiceDone = 58, AK_UnknownEnvironment = 59, AK_EnvironmentInUse = 60,
  AK_UnknownObject = 61, AK_NoConversionNeeded = 62, AK_FormatNotReady = 63, AK_WrongBankVersion = 64,
  AK_DataReadyNoProcess = 65, AK_FileNotFound = 66, AK_DeviceNotReady = 67, AK_CouldNotCreateSecBuffer = 68,
  AK_BankAlreadyLoaded = 69, AK_RenderedFX = 71, AK_ProcessNeeded = 72, AK_ProcessDone = 73,
  AK_MemManagerNotInitialized = 74, AK_StreamMgrNotInitialized = 75, AK_SSEInstructionsNotSupported = 76, AK_Busy = 77,
  AK_UnsupportedChannelConfig = 78, AK_PluginMediaNotAvailable = 79, AK_MustBeVirtualized = 80, AK_CommandTooLarge = 81,
  AK_RejectedByFilter = 82, AK_InvalidCustomPlatformName = 83, AK_DLLCannotLoad = 84, AK_DLLPathNotFound = 85,
  AK_NoJavaVM = 86, AK_OpenSLError = 87, AK_PluginNotRegistered = 88, AK_DataAlignmentError = 89,
  AK_DeviceNotCompatible = 90, AK_DuplicateUniqueID = 91, AK_InitBankNotLoaded = 92
}
  Standard function call result. 更多...
 
enum   AkGroupType { AkGroupType_Switch = 0, AkGroupType_State = 1 }
  Game sync group type 更多...
 
enum   AkConnectionType { ConnectionType_Direct = 0x0, ConnectionType_GameDefSend = 0x1, ConnectionType_UserDefSend = 0x2 }
  Nature of the connection binding an input to a bus. 更多...
 
enum   AkCurveInterpolation {
  AkCurveInterpolation_Log3 = 0, AkCurveInterpolation_Sine = 1, AkCurveInterpolation_Log1 = 2, AkCurveInterpolation_InvSCurve = 3,
  AkCurveInterpolation_Linear = 4, AkCurveInterpolation_SCurve = 5, AkCurveInterpolation_Exp1 = 6, AkCurveInterpolation_SineRecip = 7,
  AkCurveInterpolation_Exp3 = 8, AkCurveInterpolation_LastFadeCurve = 8, AkCurveInterpolation_Constant = 9
}
  Curve interpolation types 更多...
 
enum   AkMemPoolAttributes {
  AkNoAlloc = 0, AkMalloc = 1, AkAllocMask = AkNoAlloc | AkMalloc, AkFixedSizeBlocksMode = 1<<3,
  AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0, AkMalloc = 1<<0, AkVirtualAlloc = 1<<1,
  AkAllocMask = AkNoAlloc | AkMalloc | AkVirtualAlloc, AkFixedSizeBlocksMode = 1<<3, AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0,
  AkMalloc = 1<<0, AkAPUAlloc = 1<<1, AkAllocMask = AkNoAlloc | AkMalloc | AkAPUAlloc, AkFixedSizeBlocksMode = 1<<3,
  AkBlockMgmtMask = AkFixedSizeBlocksMode
}
 
enum   AK::SoundEngine::MultiPositionType { AK::SoundEngine::MultiPositionType_SingleSource, AK::SoundEngine::MultiPositionType_MultiSources, AK::SoundEngine::MultiPositionType_MultiDirections }
 
enum   AkSpeakerPanningType { AK_DirectSpeakerAssignment = 0, AK_BalanceFadeHeight = 1 }
  Speaker panning type: type of panning logic when object is not 3D spatialized (i.e. when Ak3DSpatializationMode is AK_SpatializationMode_None). 更多...
 
enum   Ak3DPositionType { AK_3DPositionType_Emitter = 0, AK_3DPositionType_EmitterWithAutomation = 1, AK_3DPositionType_ListenerWithAutomation = 2 }
  3D position type: defines what acts as the emitter position for computing spatialization against the listener. Used when Ak3DSpatializationMode is AK_SpatializationMode_PositionOnly or AK_SpatializationMode_PositionAndOrientation. 更多...
 
enum   AkPanningRule { AkPanningRule_Speakers = 0, AkPanningRule_Headphones = 1 }
  Headphone / speakers panning rules 更多...
 
enum   Ak3DSpatializationMode { AK_SpatializationMode_None = 0, AK_SpatializationMode_PositionOnly = 1, AK_SpatializationMode_PositionAndOrientation = 2 }
  3D spatialization mode. 更多...
 
enum   AkBusHierarchyFlags { AkBusHierarchy_Primary = 1 << 0, AkBusHierarchy_Secondary = 1 << 1, AkBusHierarchy_IsMaster = 1 << 7 }
  Bus type bit field. 更多...
 
enum   AkMeteringFlags {
  AK_NoMetering = 0, AK_EnableBusMeter_Peak = 1 << 0, AK_EnableBusMeter_TruePeak = 1 << 1, AK_EnableBusMeter_RMS = 1 << 2,
  AK_EnableBusMeter_KPower = 1 << 4, AK_EnableBusMeter_3DMeter = 1 << 5
}
  Metering flags. Used for specifying bus metering, through AK::SoundEngine::RegisterBusVolumeCallback() or AK::IAkMixerPluginContext::SetMeteringFlags(). 更多...
 
enum   AkPluginType {
  AkPluginTypeNone = 0, AkPluginTypeCodec = 1, AkPluginTypeSource = 2, AkPluginTypeEffect = 3,
  AkPluginTypeMixer = 6, AkPluginTypeSink = 7, AkPluginTypeGlobalExtension = 8, AkPluginTypeMask = 0xf
}
 
enum   AkNodeType { AkNodeType_Default, AkNodeType_Bus }
 

函数

AkRamp  operator * (const AkRamp &in_rLhs, const AkRamp &in_rRhs)
 
void *__cdecl  AK::AllocHook (size_t in_size)
 
void __cdecl  AK::FreeHook (void *in_pMemAddress)
 

变量

static const AkPluginID  AK_INVALID_PLUGINID = (AkPluginID)-1
  Invalid FX ID 更多...
 
static const AkGameObjectID  AK_INVALID_GAME_OBJECT = (AkGameObjectID)-1
  Invalid game object (may also mean all game objects) 更多...
 
static const AkUniqueID  AK_INVALID_UNIQUE_ID = 0
  Invalid unique 32-bit ID 更多...
 
static const AkRtpcID  AK_INVALID_RTPC_ID = AK_INVALID_UNIQUE_ID
  Invalid RTPC ID 更多...
 
static const AkPlayingID  AK_INVALID_PLAYING_ID = AK_INVALID_UNIQUE_ID
  Invalid playing ID 更多...
 
static const AkUInt32  AK_DEFAULT_SWITCH_STATE = 0
  Switch selected if no switch has been set yet 更多...
 
static const AkMemPoolId  AK_INVALID_POOL_ID = -1
  Invalid pool ID 更多...
 
static const AkMemPoolId  AK_DEFAULT_POOL_ID = -1
  Default pool ID, same as AK_INVALID_POOL_ID 更多...
 
static const AkAuxBusID  AK_INVALID_AUX_ID = AK_INVALID_UNIQUE_ID
  Invalid auxiliary bus ID (or no Aux bus ID) 更多...
 
static const AkFileID  AK_INVALID_FILE_ID = (AkFileID)-1
  Invalid file ID 更多...
 
static const AkDeviceID  AK_INVALID_DEVICE_ID = (AkDeviceID)-1
  Invalid streaming device ID 更多...
 
static const AkBankID  AK_INVALID_BANK_ID = AK_INVALID_UNIQUE_ID
  Invalid bank ID 更多...
 
static const AkArgumentValueID  AK_FALLBACK_ARGUMENTVALUE_ID = 0
  Fallback argument value ID 更多...
 
static const AkChannelMask  AK_INVALID_CHANNELMASK = 0
  Invalid channel mask 更多...
 
static const AkUInt32  AK_INVALID_OUTPUT_DEVICE_ID = AK_INVALID_UNIQUE_ID
  Invalid Device ID 更多...
 
static const AkPriority  AK_DEFAULT_PRIORITY = 50
  Default sound / I/O priority 更多...
 
static const AkPriority  AK_MIN_PRIORITY = 0
  Minimal priority value [0,100] 更多...
 
static const AkPriority  AK_MAX_PRIORITY = 100
  Maximal priority value [0,100] 更多...
 
static const AkPriority  AK_DEFAULT_BANK_IO_PRIORITY = AK_DEFAULT_PRIORITY
  Default bank load I/O priority 更多...
 
static const AkReal32  AK_DEFAULT_BANK_THROUGHPUT = 1*1024*1024/1000.f
  Default bank load throughput (1 Mb/ms) 更多...
 
static const AkUInt32  AK_SOUNDBANK_VERSION = 132
  Version of the soundbank reader 更多...
 

详细描述

Data type definitions.

在文件 AkTypes.h 中定义.