Wwise 버전
arrow_right 목차

include/AK/SoundEngine/Common/AkTypes.h File Reference

Go to the source code of this file.

Classes

struct   AkExternalSourceInfo
struct   AkVector
  3D vector. More...
struct   AkSoundPosition
  Positioning information for a sound. More...
struct   AkListenerPosition
  Positioning information for a listener. More...
struct   AkPolarCoord
  Polar coordinates. More...
struct   AkSphericalCoord
  Spherical coordinates. More...
class   AkEmitterListenerPair
struct   AkListener
  Listener information. More...
struct   AkAuxSendValue
  Auxiliary bus sends information per game object per given auxilliary bus. More...
struct   AkRamp
  Volume ramp specified by end points "previous" and "next". More...
struct   WwiseObjectIDext
struct   WwiseObjectID
struct   AkFileParser::EnvelopePoint
  Analyzed envelope point. More...

Namespaces

namespace   AK
 

Audiokinetic namespace.


namespace   AK::SoundEngine
namespace   AkFileParser
 

Public data structures for converted file format.


Defines

#define  NULL   ((void *)0)
#define  AK_VOICE_MAX_NUM_CHANNELS   (6)
  Platform supports up to 5.1 configuration.
#define  AK_STANDARD_MAX_NUM_CHANNELS   (AK_VOICE_MAX_NUM_CHANNELS)
  Platform supports 5.1.
#define  AKCURVEINTERPOLATION_NUM_STORAGE_BIT   5
  Internal storage restriction, for internal use only.
#define  AK_MAX_AUX_PER_OBJ   (4)
  Maximum number of environments in which a single game object may be located at a given time.
#define  AK_MAX_AUX_SUPPORTED   (AK_MAX_AUX_PER_OBJ + 4)
#define  AK_NUM_LISTENERS   (8)
  Number of listeners that can be used.
#define  AK_LISTENERS_MASK_ALL   (0xFFFFFFFF)
  All listeners.
#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_GENAUDIO   (260)
  GenAudio.
#define  AKCOMPANYID_CRANKCASEAUDIO   (261)
  Crankcase Audio.
#define  AKCOMPANYID_IOSONO   (262)
  IOSONO.
#define  AKCOMPANYID_AUROTECHNOLOGIES   (263)
  Auro Technologies.
#define  AKCOMPANYID_DOLBY   (264)
  Dolby.
#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  AK_WAVE_FORMAT_VAG   0xFFFB
#define  AK_WAVE_FORMAT_AT9   0xFFFC
#define  AK_WAVE_FORMAT_VORBIS   0xFFFF
#define  AK_WAVE_FORMAT_AAC   0xAAC0
#define  PANNER_NUM_STORAGE_BITS   2
  3D Positioning type.
#define  POSSOURCE_NUM_STORAGE_BITS   2
#define  AK_MAX_BITS_METERING_FLAGS   (5)
#define  AK_OS_STRUCT_ALIGN   4
  OS Structures need to be aligned at 4 bytes.
#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_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  AK_POINTER_64
#define  AkRegister   register

Typedefs

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 AkReal32  AkPitchValue
  Pitch value.
typedef AkReal32  AkVolumeValue
  Volume value( also apply to LFE ).
typedef AkUIntPtr  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 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.

Enumerations

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
}
 

Standard function call result.

More...
enum   AkGroupType { AkGroupType_Switch = 0, AkGroupType_State = 1 }
 

Game sync group type.

More...
enum   AkConnectionType { ConnectionType_Direct = 0x0, ConnectionType_GameDefSend = 0x1, ConnectionType_UserDefSend = 0x2, ConnectionType_CrossDeviceSend = 0x4 }
 

Nature of the connection binding an input to a bus.

More...
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.

More...
enum   AkMemPoolAttributes {
  AkNoAlloc = 0, AkMalloc = 1, AkAllocMask = AkNoAlloc | AkMalloc, AkFixedSizeBlocksMode = 1<<3,
  AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0, AkMalloc = 1<<0, AkMallocDevice = 1<<1,
  AkAllocMask = AkNoAlloc | AkMalloc | AkMallocDevice, AkFixedSizeBlocksMode = 1<<3, AkBlockMgmtMask = AkFixedSizeBlocksMode, AkNoAlloc = 0,
  AkMalloc = 1, AkMallocMEM2 = 2, AkAllocMask = AkNoAlloc | AkMalloc | AkMallocMEM2, 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, AkPhysicalAlloc = 1<<1, AkAllocMask = AkNoAlloc | AkMalloc | AkPhysicalAlloc, 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   AkPannerType { Ak2D = 0, Ak3D = 1 }
enum   AkPositionSourceType { AkUserDef = 0, AkGameDef = 1 }
enum   AkPanningRule { AkPanningRule_Speakers = 0, AkPanningRule_Headphones = 1 }
 

Headphone / speakers panning rules.

More...
enum   AkBusType { AkBusType_Master = 0x01, AkBusType_Primary = 0x02 }
 

Bus type bit field.

More...
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
}
 

Metering flags. Used for specifying bus metering, through AK::SoundEngine::RegisterBusVolumeCallback() or AK::IAkMixerPluginContext::SetMeteringFlags().

More...
enum   AkNodeType { AkNodeType_Default, AkNodeType_Bus }

Functions

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)

Variables

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 AkUInt32  AK_INVALID_LISTENER_INDEX = (AkUInt32)-1
  Invalid listener index.
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 = 113
  Version of the soundbank reader.

Detailed Description

Data type definitions.

Definition in file AkTypes.h.