浏览该文件的文档.
32 #ifndef _AK_DATA_TYPES_H_
33 #define _AK_DATA_TYPES_H_
48 #define NULL ((void *)0)
297 ,
szFile( in_pszFileName )
426 return orientationFront;
432 return orientationTop;
442 const AkVector & in_orientationFront,
446 position = in_position;
447 orientationFront = in_orientationFront;
448 orientationTop = in_orientationTop;
464 position.
X = in_positionX;
465 position.
Y = in_positionY;
466 position.
Z = in_positionZ;
467 orientationFront.
X = in_orientFrontX;
468 orientationFront.
Y = in_orientFrontY;
469 orientationFront.
Z = in_orientFrontZ;
470 orientationTop.
X = in_orientTopX;
471 orientationTop.
Y = in_orientTopY;
472 orientationTop.
Z = in_orientTopZ;
480 position = in_position;
497 const AkVector & in_orientationFront,
501 orientationFront = in_orientationFront;
502 orientationTop = in_orientationTop;
515 orientationFront.
X = in_orientFrontX;
516 orientationFront.
Y = in_orientFrontY;
517 orientationFront.
Z = in_orientFrontZ;
518 orientationTop.
X = in_orientTopX;
519 orientationTop.
Y = in_orientTopY;
520 orientationTop.
Z = in_orientTopZ;
546 return orientationFront;
552 return orientationTop;
562 const AkVector& in_orientationFront,
566 position = in_position;
567 orientationFront = in_orientationFront;
568 orientationTop = in_orientationTop;
584 position.
X = in_positionX;
585 position.
Y = in_positionY;
586 position.
Z = in_positionZ;
587 orientationFront.
X = in_orientFrontX;
588 orientationFront.
Y = in_orientFrontY;
589 orientationFront.
Z = in_orientFrontZ;
590 orientationTop.
X = in_orientTopX;
591 orientationTop.
Y = in_orientTopY;
592 orientationTop.
Z = in_orientTopZ;
600 position = in_position;
617 const AkVector& in_orientationFront,
621 orientationFront = in_orientationFront;
622 orientationTop = in_orientationTop;
635 orientationFront.
X = in_orientFrontX;
636 orientationFront.
Y = in_orientFrontY;
637 orientationFront.
Z = in_orientFrontZ;
638 orientationTop.
X = in_orientTopX;
639 orientationTop.
Y = in_orientTopY;
640 orientationTop.
Z = in_orientTopZ;
646 ret.
Set(position, orientationFront, orientationTop);
861 #define AKCURVEINTERPOLATION_NUM_STORAGE_BIT 5
891 template<
class VALUE_TYPE >
912 return !(*
this == other);
951 #define AK_MAX_LANGUAGE_NAME_SIZE (32)
962 #define AKCOMPANYID_PLUGINDEV_MIN (64)
963 #define AKCOMPANYID_PLUGINDEV_MAX (255)
966 #define AKCOMPANYID_AUDIOKINETIC (0)
967 #define AKCOMPANYID_AUDIOKINETIC_EXTERNAL (1)
968 #define AKCOMPANYID_MCDSP (256)
969 #define AKCOMPANYID_WAVEARTS (257)
970 #define AKCOMPANYID_PHONETICARTS (258)
971 #define AKCOMPANYID_IZOTOPE (259)
972 #define AKCOMPANYID_CRANKCASEAUDIO (261)
973 #define AKCOMPANYID_IOSONO (262)
974 #define AKCOMPANYID_AUROTECHNOLOGIES (263)
975 #define AKCOMPANYID_DOLBY (264)
976 #define AKCOMPANYID_TWOBIGEARS (265)
977 #define AKCOMPANYID_OCULUS (266)
978 #define AKCOMPANYID_BLUERIPPLESOUND (267)
979 #define AKCOMPANYID_ENZIEN (268)
980 #define AKCOMPANYID_KROTOS (269)
981 #define AKCOMPANYID_NURULIZE (270)
982 #define AKCOMPANYID_SUPERPOWERED (271)
983 #define AKCOMPANYID_GOOGLE (272)
984 //#define AKCOMPANYID_NVIDIA (273)
985 //#define AKCOMPANYID_RESERVED (274)
986 //#define AKCOMPANYID_MICROSOFT (275)
987 //#define AKCOMPANYID_YAMAHA (276)
988 #define AKCOMPANYID_VISISONICS (277)
991 #define AKCODECID_BANK (0)
992 #define AKCODECID_PCM (1)
993 #define AKCODECID_ADPCM (2)
994 #define AKCODECID_XMA (3)
995 #define AKCODECID_VORBIS (4)
996 #define AKCODECID_WIIADPCM (5)
997 #define AKCODECID_PCMEX (7)
998 #define AKCODECID_EXTERNAL_SOURCE (8)
999 #define AKCODECID_XWMA (9)
1000 #define AKCODECID_FILE_PACKAGE (11)
1001 #define AKCODECID_ATRAC9 (12)
1002 #define AKCODECID_VAG (13)
1003 #define AKCODECID_PROFILERCAPTURE (14)
1004 #define AKCODECID_ANALYSISFILE (15)
1005 #define AKCODECID_MIDI (16)
1006 #define AKCODECID_OPUSNX (17)
1007 #define AKCODECID_CAF (18)
1008 #define AKCODECID_AKOPUS (19)
1009 #define AKCODECID_AKOPUS_WEM (20)
1010 #define AKCODECID_MEMORYMGR_DUMP (21)
1011 #define AKCODECID_SONY360 (22)
1013 #define AKCODECID_BANK_EVENT (30)
1014 #define AKCODECID_BANK_BUS (31)
1016 #define AKPLUGINID_METER (129)
1017 #define AKPLUGINID_RECORDER (132)
1018 #define AKPLUGINID_IMPACTER (184)
1019 #define AKPLUGINID_SYSTEM_OUTPUT_META (900)
1020 #define AKPLUGINID_AUDIO_OBJECT_ATTENUATION_META (901)
1021 #define AKPLUGINID_AUDIO_OBJECT_PRIORITY_META (902)
1023 #define AKEXTENSIONID_SPATIALAUDIO (800)
1024 #define AKEXTENSIONID_INTERACTIVEMUSIC (801)
1025 #define AKEXTENSIONID_MIDIDEVICEMGR (802)
1028 #define AK_WAVE_FORMAT_VAG 0xFFFB
1029 #define AK_WAVE_FORMAT_AT9 0xFFFC
1030 #define AK_WAVE_FORMAT_VORBIS 0xFFFF
1031 #define AK_WAVE_FORMAT_OPUSNX 0x3039
1032 #define AK_WAVE_FORMAT_OPUS 0x3040
1033 #define AK_WAVE_FORMAT_OPUS_WEM 0x3041
1034 #define WAVE_FORMAT_XMA2 0x166
1040 class IAkSoftwareCodec;
1042 class IAkGrainCodec;
1078 namespace SoundEngine
1098 #define AK_PANNER_NUM_STORAGE_BITS 3
1107 #define AK_POSSOURCE_NUM_STORAGE_BITS 3
1132 #define AK_SPAT_NUM_STORAGE_BITS 3
1149 #define AK_MAX_BITS_METERING_FLAGS (5) // Keep in sync with AkMeteringFlags.
1238 #pragma pack(push, 1)
1248 #ifndef AK_ASYNC_OPEN_DEFAULT
1249 #define AK_ASYNC_OPEN_DEFAULT (false)
1252 #ifndef AK_COMM_DEFAULT_DISCOVERY_PORT
1253 #define AK_COMM_DEFAULT_DISCOVERY_PORT 24024
1256 #ifdef AK_CAPTURE_TYPE_FLOAT
1264 #endif //_AK_DATA_TYPES_H_
@ AK_PathNodeNotInList
This path is not there.
AkEmitterListenerPair()
Constructor.
AkAudioDeviceState deviceStateMask
Bitmask used to filter the device based on their state.
AkGameObjectID m_uListenerID
Listener game object ID.
@ AK_EnableBusMeter_Peak
Enable computation of peak metering.
@ AttenuationCurveID_Focus
The distance-driven Focus curve.
AkUInt32 AkStateGroupID
State group ID
@ AkBankType_Bus
Bank generated for one bus or aux bus.
static const AkPriority AK_DEFAULT_BANK_IO_PRIORITY
Default bank load I/O priority
AkUInt8 AkDataInterleaveID
Data interleaved state ID
@ AK_UnsupportedChannelConfig
Channel configuration is not supported in the current execution context.
@ AK_NoMetering
No metering.
static const AkJobType AkJobType_AudioProcessing
Job type for DSP work
@ AK_DirectSpeakerAssignment
No panning: route to matching channels between input and output.
@ AK_InvalidCustomPlatformName
Detecting incompatibility between Custom platform of banks and custom platform of connected applicati...
AkExternalSourceInfo(AkFileID in_idFile, AkUInt32 in_iExternalSrcCookie, AkCodecID in_idCodec)
Constructor: specify source by streaming file ID.
@ AK_InvalidSwitchType
Invalid switch type (used with the switch container)
AkRamp & operator*=(const AkRamp &in_rRhs)
AkReal32 Occlusion() const
Get the occlusion factor for this emitter-listener pair
@ AK_FileNotFound
File not found.
uint16_t AkUInt16
Unsigned 16-bit integer
AkGraphPointBase< AkReal32 > AkRTPCGraphPoint
@ AttenuationCurveID_LowPassFilter
The distance-driven low-pass filter (pre send) curve.
AkVector64 ConvertAkVectorToAkVector64(AkVector in)
@ AK_EnableBusMeter_RMS
Enable computation of RMS metering.
AkInt32 AkTimeMs
Time in ms
Auxiliary bus sends information per game object per given auxiliary bus.
@ AK_Fail
The operation failed.
AkReal32 fEmitterAngle
Angle between position vector and emitter orientation.
@ AttenuationCurveID_DiffractionHPF
The diffraction-driven high-pass filter curve.
@ AttenuationCurveID_VolumeDry
The distance-driven dry volume curve.
Obstruction/occlusion pair for a position
void * pInMemory
Pointer to the in-memory file. If not NULL, the source will be read from memory. Set szFile and idFil...
AkReal32 Diffraction() const
Get the diffraction factor for this emitter-listener pair
@ AK_DataAlignmentError
A pointer to audio data was not aligned to the platform's required alignment (check AkTypes....
AkCodecID idCodec
Codec ID for the file. One of the audio formats defined in AkTypes.h (AKCODECID_XXX)
@ AttenuationCurveID_DiffractionVolume
The diffraction-driven volume curve.
AkUInt32 AkModulatorID
Modulator ID
@ AK_DataReady
The provider has available data.
AkWorldTransform AkListenerPosition
Positioning information for a listener.
@ AK_NotCompatible
Incompatible formats
@ AkGroupType_Switch
Type switch
IAkSoftwareCodec *(* AkCreateFileSourceCallback)(void *in_pCtx)
Registered file source creation function prototype.
@ AkSetPositionFlags_Default
@ AttenuationCurveID_VolumeAuxGameDef
The distance-driven game-defined auxiliary send curve.
AkUInt32 AkRtpcID
Real time parameter control ID
AkUInt64 AkAudioObjectID
Audio Object ID
@ AK_SpatializationMode_PositionOnly
Spatialization based on emitter position only.
@ AK_InvalidID
The ID is invalid.
@ AkCurveInterpolation_SCurve
S Curve
@ AttenuationCurveID_Project
Symbol for "Use Project".
@ AkCurveInterpolation_SineRecip
Reciprocal of sine curve
@ AK_EnableBusMeter_KPower
Enable computation of K-weighted power metering (used as a basis for computing loudness,...
@ AK_3DPositionType_EmitterWithAutomation
3D spatialization is computed from the emitter game object position, translated by user-defined autom...
@ ConnectionType_Direct
Direct (main, dry) connection.
@ AK_InvalidFile
The provided file is the wrong format or unexpected values causes the file to be invalid.
@ AK_SSEInstructionsNotSupported
The machine does not support SSE instructions (required on PC).
AkReal32 Distance() const
Get distance.
AkUInt32 AkPipelineID
Unique node (bus, voice) identifier for profiling.
@ AK_NoDistinctListener
No distinct listener provided for AddOutput
bool operator==(const WwiseObjectIDext &in_rOther) const
@ AkSetPositionFlags_Listener
bool isDefaultDevice
Identify default device. Always false when not supported.
@ AK_DLLPathNotFound
Plugin DLL search path could not be found.
@ AK_CommandTooLarge
SDK command is too large to fit in the command queue.
@ AK_MaxReached
The maximum was reached.
static const AkJobType AkJobType_Generic
Job type for general-purpose work
AkUInt64 AkGameObjectID
Game object ID
@ AkPluginTypeMixer
Mixer plug-in: mix voices at the bus level.
AkUInt32 AkBankID
Run time bank ID
AkOSChar * szFile
File path for the source. If not NULL, the source will be streaming from disk. Set pInMemory to NULL....
AkReal32 fSpread
Emitter-listener-pair-specific spread
VALUE_TYPE To
Represents the value on the Y axis.
AKRESULT
Standard function call result.
static const AkDeviceID AK_INVALID_DEVICE_ID
Invalid streaming device ID
@ AK_NoDataReady
The provider does not have available data.
@ AkGroupType_State
Type state
static const AkPriority AK_MIN_PRIORITY
Minimal priority value [0,100]
AkMeteringFlags
Metering flags. Used for specifying bus metering, through AK::SoundEngine::RegisterBusVolumeCallback(...
@ AK_ResourceInUse
Resource is in use and cannot be released.
@ AK_DeviceNotFound
The specified device ID does not match with any of the output devices that the sound engine is curren...
AkUInt32 AkDeviceID
I/O device ID
@ AK_NotInitialized
The component being used is not initialized. Most likely AK::SoundEngine::Init() was not called yet,...
static const AkPluginID AK_INVALID_PLUGINID
Invalid FX ID
@ AK_NoMoreData
No more data is available from the source.
WwiseObjectID(AkUniqueID in_ID, bool in_bIsBus)
@ AkCurveInterpolation_Sine
Sine
AkUInt32 AkImageSourceID
Image Source ID
@ AkPluginTypeEffect
Effect plug-in: applies processing to audio data.
AkInt32 AkMemPoolId
Memory pool ID
AkUInt32 AkArgumentValueID
Argument value ID
AkVector64 operator-(const AkVector64 &b) const
@ AK_NoJavaVM
No Java VM provided in AkInitSettings.
static const AkUInt32 AK_SOUNDBANK_VERSION
Version of the soundbank reader
AkReal32 fDistance
Distance between emitter and listener.
@ AK_FileFormatMismatch
Media file format unexpected
static const AkBankID AK_INVALID_BANK_ID
Invalid bank ID
@ AttenuationCurveID_OcclusionHPF
The occlusion-driven high-pass filter curve.
@ AK_RenderedFX
The effect on the node is rendered.
static const AkAudioObjectID AK_INVALID_AUDIO_OBJECT_ID
Invalid audio object ID
@ AkDeviceState_All
Includes audio devices in all states.
AkGraphPointBase(AkReal32 in_from, VALUE_TYPE in_to, AkCurveInterpolation in_interp)
AkUInt32 AkChannelMask
Channel mask (similar to WAVE_FORMAT_EXTENSIBLE). Bit values are defined in AkSpeakerConfig....
AkReal32 AkLPFType
Low-pass filter type
AkReal32 PathGain() const
Get the overall path-contribution gain, used to scale the dry + gamedef + userdef gains
uint8_t AkUInt8
Unsigned 8-bit integer
@ AK_BankReadError
Error while reading a bank.
@ AK_InvalidStateGroup
The StateGroup is not a valid channel.
static const AkUInt32 AK_DEFAULT_SWITCH_STATE
Switch selected if no switch has been set yet
AkExternalSourceInfo(AkOSChar *in_pszFileName, AkUInt32 in_iExternalSrcCookie, AkCodecID in_idCodec)
Constructor: specify source by streaming file name.
@ AK_IDNotFound
The ID was not found.
@ AkPluginTypeMask
Plug-in type mask is 4 bits.
char padding[4]
In order to preserve consistent struct size across archs, we need some padding
AkWorldTransform emitter
Emitter position.
@ AK_BankAlreadyLoaded
The bank load failed because the bank is already loaded.
@ MultiPositionType_SingleSource
Used for normal sounds, not expected to pass to AK::SoundEngine::SetMultiplePosition() (if done,...
AkReal32 AkVolumeValue
Volume value( also apply to LFE )
@ AkCurveInterpolation_Exp1
Exp1
@ AttenuationCurveID_TransmissionLPF
The transmission-driven low-pass filter curve.
@ AK_DLLCannotLoad
Plugin DLL could not be loaded, either because it is not found or one dependency is missing.
@ AK_3DPositionType_Emitter
3D spatialization is computed directly from the emitter game object position.
bool operator==(const AkGraphPointBase &other) const
@ AK_ProcessDone
The executed routine has finished its execution.
float AkReal32
32-bit floating point
@ AK_Success
The operation was successful.
AkReal32 fObstruction
Emitter-listener-pair-specific obstruction factor
int32_t AkInt32
Signed 32-bit integer
@ AkDeviceState_Active
The audio device is active That is, the audio adapter that connects to the endpoint device is present...
@ AK_InvalidFileSize
The file requested was found and opened but is either 0 bytes long or not the expected size....
Emitter-listener pair: Positioning data pertaining to a single pair of emitter and listener.
AkReal32 From
Represents the value on the X axis.
@ AK_PathNodeAlreadyInList
This path is already there.
AkSetPositionFlags
Flags to independently set the position of the emitter or listener component on a game object.
AkReal32 fGameDefAuxMixGain
Emitter-listener-pair-specific gain (due to distance and cone attenuation) for game-defined send conn...
@ AkCurveInterpolation_Exp3
Exp3
AkUInt32 AkFileID
Integer-type file identifier
AkReal32 fPathGain
Emitter-listener-pair-specific overall gain that scales fDryMixGain, fGameDefAuxMixGain and fUserDefA...
static const AkPriority AK_DEFAULT_PRIORITY
Default sound / I/O priority
@ AK_MemManagerNotInitialized
The memory manager should have been initialized at this point.
@ AK_BalanceFadeHeight
Balance-Fade-Height: Traditional "box" or "car"-like panner.
IAkFileCodec *(* AkCreateFileCodecCallback)()
Registered FileCodec creation function prototype.
@ AK_ProcessNeeded
A routine needs to be executed on some CPU.
@ MultiPositionType_MultiDirections
Simulate one sound coming from multiple directions. Useful for repositionning sounds based on wall op...
WwiseObjectID(AkUniqueID in_ID, AkNodeType in_eNodeType)
AkUInt32 iExternalSrcCookie
Cookie identifying the source, given by hashing the name of the source given in the project....
@ AK_DeviceNotCompatible
Incompatible Audio device.
AkReal32 EmitterAngle() const
bool operator!=(const AkGraphPointBase &other) const
@ AK_EnableBusMeter_3DMeter
Enable computation of data necessary to render a 3D visualization of volume distribution over the sur...
@ AK_InvalidParameter
Something is not within bounds, check the documentation of the function returning this code.
@ AK_PluginNotRegistered
Plugin is not registered. Make sure to implement a AK::PluginRegistration class for it and use AK_STA...
@ AttenuationCurveID_MaxCount
The maximum number of curve types.
AkWorldTransform ConvertAkTransformToAkWorldTransform(AkTransform in)
AkUInt32 AkUniqueID
Unique 32-bit ID
AkListenerPosition position
Configured audio settings
AkGraphPointBase()=default
Ak3DSpatializationMode
3D spatialization mode.
@ AkDeviceState_NotPresent
The audio device is not present because the audio adapter that connects to the endpoint device has be...
AkUInt32 AkPluginID
Source or effect plug-in ID
AkVector operator+(const AkVector &b) const
@ AK_InvalidFloatValue
One parameter has a invalid float value such as NaN, INF or FLT_MAX.
AkGameObjectID ListenerID() const
Get listener ID associated with the emitter-listener pair.
@ AK_AudioFileHeaderTooLarge
The file header is too large.
@ AkCurveInterpolation_InvSCurve
Inversed S Curve
@ AkCurveInterpolation_Log3
Log3
AkUInt16 AkDataTypeID
Data sample type ID
@ AK_EnableBusMeter_TruePeak
Enable computation of true peak metering (most CPU and memory intensive).
@ AttenuationCurveID_None
Symbol for "None".
@ AkCurveInterpolation_Log1
Log1
@ AttenuationCurveID_ObstructionHPF
The obstruction-driven high-pass filter curve.
@ AK_UnknownFileError
Rare file error occured, as opposed to AK_FileNotFound or AK_FilePermissionError. This lumps all unre...
@ AttenuationCurveID_OcclusionVolume
The occlusion-driven volume curve.
AkUInt32 AkAcousticTextureID
Acoustic Texture ID
@ AkDeviceState_Unknown
The audio device state is unknown or invalid.
@ AK_DeviceNotReady
Specified ID doesn't match a valid hardware device: either the device doesn't exist or is disabled.
AkInt16 AkCaptureType
Default value: capture type is short.
@ AK_PlayingIDNotFound
Calling a function with a playing ID that is not known.
@ AK_Busy
The system is busy and could not process the request.
AkReal32 fDiffraction
Emitter-listener-pair-specific diffraction coefficient
#define AKCODECID_BANK_BUS
Bank encoding for bus banks. These banks are contained in the /bus sub-folder.
@ AK_AlreadyConnected
The stream is already connected to another node.
@ AK_PathNotFound
This path is not known.
AkAttenuationCurveType
Curve types of the Attenuation Editor.
static const AkPipelineID AK_INVALID_PIPELINE_ID
Invalid pipeline ID (for profiling)
@ AK_InitBankNotLoaded
The Init bank was not loaded yet, the sound engine isn't completely ready yet.
AkUInt32 AkCodecID
Codec plug-in ID
AkReal32 Obstruction() const
Get the obstruction factor for this emitter-listener pair
AkUInt16 AkDataCompID
Data compression format ID
@ AK_InvalidState
This method should not be called when the object is in its current state.
Positioning information for a sound, with specified subset of its channels.
Volume ramp specified by end points "previous" and "next".
@ AK_PluginMediaNotAvailable
Plugin media is not available for effect.
AkInt8 AkPriority
Priority
AkGroupType
Game sync group type
@ AK_FilePathTooLong
The combination of base path and file name exceeds maximum buffer lengths.
AkRamp operator*(const AkRamp &in_rLhs, const AkRamp &in_rRhs)
int16_t AkInt16
Signed 16-bit integer
AkReal32 obstruction
ObstructionLevel: [0.0f..1.0f]
static const AkUInt32 AK_NUM_JOB_TYPES
Number of possible job types recognized by the Sound Engine
WwiseObjectID(AkUniqueID in_ID)
@ AkBusHierarchy_IsMaster
Flag is set to indicate a master bus (may be used in combination with other flags).
@ AkCurveInterpolation_Constant
Constant ( not valid for fading values )
AkExternalSourceInfo(void *in_pInMemory, AkUInt32 in_uiMemorySize, AkUInt32 in_iExternalSrcCookie, AkCodecID in_idCodec)
Constructor: specify source by memory.
@ AK_InvalidLanguage
The language is invalid (applies to the Low-Level I/O).
AkRamp(AkReal32 in_fPrev, AkReal32 in_fNext)
AkWorldTransform AkSoundPosition
Positioning information for a sound.
static const AkMemPoolId AK_INVALID_POOL_ID
Invalid pool ID
@ AkDeviceState_Unplugged
The audio device is unplugged.
AkVector operator-(const AkVector &b) const
@ AkBusHierarchy_Secondary
Flag is set to indicate the secondary bus hierarchy.
@ AK_NoDataNeeded
The consumer does not need more.
AkOSChar deviceName[AK_MAX_PATH]
The user-friendly name for the device.
AkReal32 GetGainForConnectionType(AkConnectionType in_eType) const
Get the emitter-listener-pair-specific gain (due to distance and cone attenuation),...
@ AkPluginTypeSink
Sink plug-in: implement custom sound engine end point.
static const AkUInt32 AK_INVALID_OUTPUT_DEVICE_ID
Invalid Device ID
@ AK_PartialSuccess
The operation succeeded partially.
AkTransform ConvertAkWorldTransformToAkTransform(AkWorldTransform in)
@ AK_SteeringPanner
Steering panner.
@ ConnectionType_ReflectionsSend
Connection by a early reflections send.
@ AK_ACP_Error
Generic XMA decoder error.
AkCurveInterpolation
Curve interpolation types
#define AK_CALLBACK(_type, _name)
@ AttenuationCurveID_VolumeAuxUserDef
The distance-driven user-defined auxiliary send curve.
static const AkPluginID AK_INVALID_SHARE_SET_ID
Invalid Share Set ID
AkPanningRule
Headphone / speakers panning rules
@ AkSetPositionFlags_Emitter
AkUInt32 uNumSamplesPerFrame
Number of samples per audio frame (256, 512, 1024 or 2048).
@ AK_CannotAddItselfAsAChild
It is not possible to add itself as its own child.
@ AttenuationCurveID_TransmissionVolume
The transmission-driven volume curve.
@ AK_InvalidInstanceID
The InstanceID is invalid.
@ AK_NotImplemented
This feature is not implemented.
double AkReal64
64-bit floating point
AkVector operator*(const AkReal32 f) const
IAkGrainCodec *(* AkCreateGrainCodecCallback)()
Registered IAkGrainCodec creation function prototype.
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID
AkWorldTransform position
Emitter position.
AkUInt32 AkStateID
State ID
@ AkPanningRule_Speakers
Left and right positioned 60 degrees apart (by default - see AK::SoundEngine::GetSpeakerAngles()).
@ AttenuationCurveID_Spread
The distance-driven Spread curve.
@ AkCurveInterpolation_Linear
Linear (Default)
bool bSpatialized
Listener scaling factor (see AK::SoundEngine::SetListenerScalingFactor()).
@ MultiPositionType_MultiSources
Simulate multiple sources in one sound playing, adding volumes. For instance, all the torches on your...
AkReal32 AkPitchValue
Pitch value
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID
@ AK_DataNeeded
The consumer needs more.
AkVector ConvertAkVector64ToAkVector(AkVector64 in)
AkReal32 fScalingFactor
Combined scaling factor due to both emitter and listener.
@ AkDeviceState_Disabled
The audio device is disabled.
#define AKCODECID_BANK_EVENT
Bank encoding for event banks. These banks are contained in the /event sub-folder.
uint64_t AkUInt64
Unsigned 64-bit integer
AkUInt32 AkSwitchStateID
Switch ID
AkReal32 fDryMixGain
Emitter-listener-pair-specific gain (due to distance and cone attenuation) for direct connections.
AkReal32 fOcclusion
Emitter-listener-pair-specific occlusion factor
@ AkPanningRule_Headphones
Left and right positioned 180 degrees apart.
AkExternalSourceInfo()
Default constructor.
AkReal32 fListenerAngle
Angle between position vector and listener orientation.
AkUInt16 AkPortNumber
Port number
AkFileID idFile
File ID. If not zero, the source will be streaming from disk. This ID can be anything....
AkChannelMask uEmitterChannelMask
Channels of the emitter that apply to this ray.
AkReal32 fTransmissionLoss
Emitter-listener-pair-specific transmission occlusion.
#define AKCODECID_BANK
Bank encoding
@ AK_PathNoVertices
Stuff in vertices before trying to start it
static const AkArgumentValueID AK_FALLBACK_ARGUMENTVALUE_ID
Fallback argument value ID
@ AK_PathNotPaused
Only a paused path can be resumed.
@ AK_SpatializationMode_None
No spatialization
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
AkRayID ID() const
Get the emitter-listener pair's ID.
@ AkBusHierarchy_Primary
Flag is set to indicate the primary bus hierarchy.
@ AttenuationCurveID_ObstructionLPF
The obstruction-driven low-pass filter curve.
@ AttenuationCurveID_TransmissionHPF
The transmission-driven high-pass filter curve.
3D 64-bit vector. Intended as storage for world positions of sounds and objects, benefiting from 64-b...
@ AkPluginTypeSource
Source plug-in: creates sound by synthesis method (no input, just output).
@ AK_ChildAlreadyHasAParent
The child already has a parent.
AkRayID id
ID of this emitter-listener pair, unique for a given emitter.
@ AK_UnknownBankID
Trying to load a bank using an ID which is not defined.
Public data structures for converted file format.
@ AttenuationCurveID_DiffractionLPF
The diffraction-driven low-pass filter curve.
AkUInt32 AkRayID
Unique (per emitter) identifier for an emitter-listener ray.
AkUInt16 uAttenuation
Position of this point in samples at the source rate.
@ AK_FilePermissionError
The file access permissions prevent opening a file.
@ AK_TooManyConcurrentOperations
When using StdStream, file operations can be blocking or not. When not blocking, operations need to b...
@ ConnectionType_UserDefSend
Connection by a user-defined send.
@ AK_StreamMgrNotInitialized
The stream manager should have been initialized at this point.
Type for a point in an RTPC or Attenuation curve.
uint32_t AkUInt32
Unsigned 32-bit integer
AkReal32 fUserDefAuxMixGain
Emitter-listener-pair-specific gain (due to distance and cone attenuation) for user-defined send conn...
static const AkFileID AK_INVALID_FILE_ID
Invalid file ID
AkInt16 AkPluginParamID
Source or effect plug-in parameter ID
static const AkAuxBusID AK_INVALID_AUX_ID
Invalid auxiliary bus ID (or no Aux bus ID)
@ AK_ElementAlreadyInList
The item could not be added because it was already in the list.
AkSpeakerPanningType
Speaker panning type: type of panning logic when object is not 3D spatialized (i.e....
@ AK_Cancelled
The requested action was cancelled (not an error).
~AkEmitterListenerPair()
Destructor.
AkGameObjectID listenerID
Game object ID of the listener associated with this send. Use AK_INVALID_GAME_OBJECT as a wildcard to...
@ AkPluginTypeNone
Unknown/invalid plug-in type.
AkUInt32 AkAuxBusID
Auxilliary bus ID
AkUInt64 AkOutputDeviceID
Audio Output device ID
AkCreateBankSourceCallback pBankSrcCreateFunc
AkVector64 operator+(const AkVector64 &b) const
@ AK_DuplicateUniqueID
Two Wwise objects share the same ID.
@ AttenuationCurveID_ObstructionVolume
The obstruction-driven volume curve.
@ AkBankType_User
User-defined bank.
@ AttenuationCurveID_OcclusionLPF
The occlusion-driven low-pass filter curve.
@ AK_FormatNotReady
Source format not known yet.
3D vector for some operations in 3D space. Typically intended only for localized calculations due to ...
@ AK_InsufficientMemory
Memory error.
@ AkPluginTypeCodec
Compressor/decompressor plug-in (allows support for custom audio file types).
AkCreateFileSourceCallback pFileSrcCreateFunc
@ AK_3DPositionType_ListenerWithAutomation
3D spatialization is computed from the listener game object position, translated by user-defined auto...
AkBusHierarchyFlags
Bus type bit field.
AkCurveInterpolation Interp
The shape of the interpolation curve between this point and the next.
AkChannelMask uInputChannels
Channels to which the above position applies.
static const AkReal32 AK_DEFAULT_BANK_THROUGHPUT
Default bank load throughput (1 Mb/ms)
AkReal32 AkRtpcValue
Real time parameter control value
static const AkJobType AkJobType_SpatialAudio
Job type for Spatial Audio computations
AkReal32 fScalingFactor
Listener position (see AK::SoundEngine::SetPosition()).
AkReal32 ListenerAngle() const
@ AttenuationCurveID_HighPassFilter
The distance-driven high-pass filter (pre send) curve.
AkUInt32 uNumSamplesPerSecond
Number of samples per second.
@ AK_OpenSLError
OpenSL returned an error. Check error log for more details.
AkUInt32 AkSwitchGroupID
Switch group ID
AkReal32 TransmissionLoss() const
Get the transmission loss factor for this emitter-listener pair
AkReal32 fAperture
Emitter-listener-pair-specific aperture
@ AK_PathNotRunning
Only a running path can be paused.
@ AK_WrongBankVersion
The bank version is not compatible with the current bank reader.
static const AkMemPoolId AK_DEFAULT_POOL_ID
Default pool ID, same as AK_INVALID_POOL_ID
int8_t AkInt8
Signed 8-bit integer
@ AK_AlreadyInitialized
Init() was called but that element was already initialized.
@ AK_MustBeVirtualized
Sound was Not Allowed to play.
static const AkPriority AK_MAX_PRIORITY
Maximal priority value [0,100]
@ AK_Deferred
Returned by functions to indicate to the caller the that the operation is done asynchronously....
IAkSoftwareCodec *(* AkCreateBankSourceCallback)(void *in_pCtx)
Registered bank source node creation function prototype.
Ak3DPositionType
3D position type: defines what acts as the emitter position for computing spatialization against the ...
static const AkRtpcID AK_INVALID_RTPC_ID
Invalid RTPC ID
AkReal32 occlusion
OcclusionLevel: [0.0f..1.0f]
AkUInt32 AkBankType
Run time bank type
AkConnectionType
Nature of the connection binding an input to a bus.
@ AK_SpatializationMode_PositionAndOrientation
Spatialization based on both emitter position and emitter orientation.
AkUInt32 AkJobType
Job type identifier
AkUInt32 AkPlayingID
Playing ID
AkCreateGrainCodecCallback pGrainCodecCreateFunc
@ ConnectionType_GameDefSend
Connection by a game-defined send.
@ AK_RejectedByFilter
A play request was rejected due to the MIDI filter parameters.
AkAuxBusID auxBusID
Auxiliary bus ID.
@ AkCurveInterpolation_LastFadeCurve
Update this value to reflect last curve available for fades
@ AkPluginTypeGlobalExtension
Global Extension plug-in: (e.g. Spatial Audio, Interactive Music)
AkUInt32 uiMemorySize
Size of the data pointed by pInMemory
AkCreateFileCodecCallback pFileCodecCreateFunc
@ AkBankType_Event
Bank generated for one event.
static const AkChannelMask AK_INVALID_CHANNELMASK
Invalid channel mask
@ AkPluginTypeMetadata
Metadata plug-in: applies object-based processing to audio data
AkUInt32 idDevice
Device ID for Wwise. This is the same as what is returned from AK::GetDeviceID and AK::GetDeviceIDFro...
AkUInt32 AkTriggerID
Trigger ID
@ AK_InvalidBankType
Invalid bank type. The bank type was either supplied through a function call (e.g....
介绍一下自己的项目。我们会竭力为您提供帮助。
来注册自己的项目,我们帮您快速入门,不带任何附加条件!
开始 Wwise 之旅