Version
menu

Wwise SDK 2025.1.0
AkMonitorError.h
Go to the documentation of this file.
1 /*******************************************************************************
2 The content of this file includes portions of the AUDIOKINETIC Wwise Technology
3 released in source code form as part of the SDK installer package.
4 
5 Commercial License Usage
6 
7 Licensees holding valid commercial licenses to the AUDIOKINETIC Wwise Technology
8 may use this file in accordance with the end user license agreement provided
9 with the software or, alternatively, in accordance with the terms contained in a
10 written agreement between you and Audiokinetic Inc.
11 
12 Apache License Usage
13 
14 Alternatively, this file may be used under the Apache License, Version 2.0 (the
15 "Apache License"); you may not use this file except in compliance with the
16 Apache License. You may obtain a copy of the Apache License at
17 http://www.apache.org/licenses/LICENSE-2.0.
18 
19 Unless required by applicable law or agreed to in writing, software distributed
20 under the Apache License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
21 OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License for
22 the specific language governing permissions and limitations under the License.
23 
24  Copyright (c) 2025 Audiokinetic Inc.
25 *******************************************************************************/
26 
27 #ifndef _AKMONITORERROR_H
28 #define _AKMONITORERROR_H
29 
32 #define ERROR_CODE_DEF( in_name, in_msg ){ MonitorErrorInfo(in_name, in_msg) }
33 
34 struct AkStreamMgrSettings;
35 struct AkDeviceSettings;
37 
38 namespace AK
39 {
40  // Error monitoring.
41 
42  namespace Monitor
43  {
44  // This structure contains information related to the error message
45  struct MsgContext
46  {
48  : in_playingID{ pId },
49  in_gameObjID{ goId },
50  in_soundID{ nodeId },
51  in_bIsBus{ isBus }
52  {}
53 
54  AkPlayingID in_playingID; ///< Related Playing ID if applicable
55  AkGameObjectID in_gameObjID; ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
56  AkUniqueID in_soundID; ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
57  bool in_bIsBus; ///< true if in_audioNodeID is a bus
58  };
59 
61  {
62  MonitorErrorInfo(const AkOSChar* in_name = nullptr, const AkOSChar* in_message= nullptr)
63  : m_name{ in_name },
64  m_message{in_message}
65 
66  {}
67  const AkOSChar* m_name;
68  const AkOSChar* m_message;
69  };
70 
71  /// ErrorLevel
72  enum ErrorLevel
73  {
74  ErrorLevel_Message = (1<<0), // used as bitfield
75  ErrorLevel_Error = (1<<1),
76 
78  };
79  /// ErrorCode
80  enum ErrorCode
81  {
82  ErrorCode_NoError = 0, // 0-based index into AK::Monitor::s_aszMonitorErrorInfos table
88 
95 
97 
99 
102 
106 
114 
121 
129 
133 
135 
140 
144 
146 
150 
152  ErrorCode_GameObjectNeverRegistered, //To be used by the Capture Log to replace ErrorCode_UnknownGameObject
153  ErrorCode_DeadGameObject, //To be used by the Capture Log to replace ErrorCode_UnknownGameObject
155 
158 
161 
164 
166 
169 
171 
173 
175  ErrorCode_UnknownOpusError, //Deprecated Opus error.
176 
181 
184 
185  ErrorCode_HwVoicesSystemInitFailed, // When the hardware-accelerated subsystem fails to initialize
186  ErrorCode_HwVoicesDecodeBatchFailed, // When a grouping of hardware-accelerated voices fail to decode collectively
187  ErrorCode_HwVoiceLimitReached, // Cannot create any more hardware-accelerated voices
188  ErrorCode_HwVoiceInitFailed, // A hardware-accelerated voice fails to be created, but not because the max number of voices was reached
189 
191 
193 
195 
199 
201 
203 
206 
209 
212 
214 
217 
220 
221 
231 
237 
239 
244 
245  //MONITOR_ERRORMSG
250 
257 
259 
265 
270 
273 
282 
291 
301 
302  //AkSpatialAudio:AkMonitorError_WithID
307 
308  //Invalid float
311 
312 
317 
319 
327 
329 
334 
336 
348 
351 
355 
364 
366 
369 
375 
379 
380  // ALWAYS ADD NEW CODES AT THE END !!!!!!!
381  // Otherwise it may break comm compatibility in a patch
382 
383  Num_ErrorCodes // THIS STAYS AT END OF ENUM
384  };
385 
386  static_assert(Num_ErrorCodes == 225,
387  "Please document your new ErrorCode "
388  "in 'Documentation/Help/source_en/reference/common_errors_capture_log.xml', "
389  "then you can increment this value."
390  );
391 
392  /// Function prototype of local output function pointer.
394  ErrorCode in_eErrorCode, ///< Error code number value
395  const AkOSChar* in_pszError, ///< Message or error string to be displayed
396  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
397  AkPlayingID in_playingID, ///< Related Playing ID if applicable, AK_INVALID_PLAYING_ID otherwise
398  AkGameObjectID in_gameObjID ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
399  );
400 
402 
403  /// Post a monitoring message or error code. This will be displayed in the Wwise capture
404  /// log. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag.
405  /// Otherwise, there'll be an undefined behavior
406  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
407  /// In optimized mode, this function returns AK_NotCompatible.
408  /// \remark This function is provided as a tracking tool only. It does nothing if it is
409  /// called in the optimized/release configuration and return AK_NotCompatible.
411  ErrorCode in_eError, ///< Message or error code to be displayed
412  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
413  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
414  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
415  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
416  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
417  );
418 
420  ErrorCode in_eError, ///< Error code to be displayed. This code corresponds to a predefined message, that may have parameters that can be passed in the variable arguments. Check the message format at the end of AkMonitorError.h.
421  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
422  MsgContext msgContext, ///< The message context containing the following information : Related Playing ID if applicable, Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise, Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise and whether if in_audioNodeID is a bus
423  ... ///< The variable arguments, depending on the ErrorCode posted.
424  );
425 
426  /// Post a monitoring message. This will be displayed in the Wwise capture log.
427  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
428  /// In optimized mode, this function returns AK_NotCompatible.
429  /// \remark This function is provided as a tracking tool only. It does nothing if it is
430  /// called in the optimized/release configuration and return AK_NotCompatible.
432  ErrorCode in_eError, ///< Error code to be displayed. This code corresponds to a predefined message, that may have parameters that can be passed in the variable arguments. Check the message format at the end of AkMonitorError.h.
433  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
434  MsgContext msgContext, ///< The message context containing the following information : Related Playing ID if applicable, Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise, Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise and whether if in_audioNodeID is a bus
435  ::va_list args ///< The variable arguments, depending on the ErrorCode posted.
436  );
437 
438 #ifdef AK_SUPPORT_WCHAR
439  /// Post a unicode monitoring message or error string. This will be displayed in the Wwise capture
440  /// log.
441  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
442  /// In optimized mode, this function returns AK_NotCompatible.
443  /// \remark This function is provided as a tracking tool only. It does nothing if it is
444  /// called in the optimized/release configuration and return AK_NotCompatible.
446  const wchar_t* in_pszError, ///< Message or error string to be displayed
447  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
448  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
449  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
450  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
451  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
452  );
453 
454 #endif // #ifdef AK_SUPPORT_WCHAR
455 
456  /// Post a monitoring message or error string. This will be displayed in the Wwise capture
457  /// log.
458  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
459  /// In optimized mode, this function returns AK_NotCompatible.
460  /// \remark This function is provided as a tracking tool only. It does nothing if it is
461  /// called in the optimized/release configuration and return AK_NotCompatible.
463  const char* in_pszError, ///< Message or error string to be displayed
464  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
465  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
466  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
467  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
468  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
469  );
470 
471  /// Enable/Disable local output of monitoring messages or errors. Pass 0 to disable,
472  /// or any combination of ErrorLevel_Message and ErrorLevel_Error to enable.
473  /// \return AK_Success.
474  /// In optimized/release configuration, this function returns AK_NotCompatible.
476  AkUInt32 in_uErrorLevel = ErrorLevel_All, ///< ErrorLevel(s) to enable in output. Default parameters enable all.
477  LocalOutputFunc in_pMonitorFunc = 0 ///< Handler for local output. If NULL, the standard platform debug output method is used.
478  );
479 
480  /// Add a translator to the wwiseErrorHandler
481  /// The additional translators increase the chance of a monitoring messages or errors
482  /// to be successfully translated.
483  /// \return AK_Success.
484  /// In optimized/release configuration, this function returns AK_NotCompatible.
486  AkErrorMessageTranslator* translator, ///< The AkErrorMessageTranslator to add to the WwiseErrorHandler
487  bool overridePreviousTranslators = false ///< Whether or not the newly added translator should override all the previous translators.
488  ///< In both cases, the default translator will remain
489  );
490 
491  /// Reset the wwiseErrorHandler to only using the default translator
492  /// \return AK_Success.
493  /// In optimized/release configuration, this function returns AK_NotCompatible.
495  );
496 
497  /// Get the time stamp shown in the capture log along with monitoring messages.
498  /// \return Time stamp in milliseconds.
499  /// In optimized/release configuration, this function returns 0.
501 
502  /// Add the streaming manager settings to the profiler capture.
504  const AkStreamMgrSettings& in_streamMgrSettings
505  );
506 
507  /// Add device settings to the list of active streaming devices.
508  /// The list of streaming devices and their settings will be
509  /// sent to the profiler capture when remote connecting from Wwise.
510  ///
511  /// \remark \c AK::Monitor::MonitorStreamMgrTerm must be called to
512  /// clean-up memory used to keep track of active streaming devices.
514  AkDeviceID in_deviceID,
515  const AkDeviceSettings& in_deviceSettings
516  );
517 
518  /// Remove streaming device entry from the list of devices
519  /// to send when remote connecting from Wwise.
521  AkDeviceID in_deviceID
522  );
523 
524  /// Monitor streaming manager destruction as part of the
525  /// profiler capture.
526  ///
527  /// \remark This function must be called to clean-up memory used by
528  /// \c AK::Monitor::MonitorStreamingDeviceInit and \c AK::Monitor::MonitorStreamingDeviceTerm
529  /// to keep track of active streaming devices.
531  }
532 }
533 
534 // Macros.
535 #ifndef AK_OPTIMIZED
536  #define AK_MONITOR_ERROR( in_eErrorCode ) \
537  AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
538 
539  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings ) \
540  AK::Monitor::MonitorStreamMgrInit( in_streamMgrSettings )
541 
542  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings ) \
543  AK::Monitor::MonitorStreamingDeviceInit( in_deviceID, in_deviceSettings )
544 
545  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID ) \
546  AK::Monitor::MonitorStreamingDeviceDestroyed( in_deviceID )
547 
548  #define AK_MONITOR_STREAM_MGR_TERM( ) \
549  AK::Monitor::MonitorStreamMgrTerm()
550 #else
551  #define AK_MONITOR_ERROR( in_eErrorCode )
552  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings )
553  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings )
554  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID )
555  #define AK_MONITOR_STREAM_MGR_TERM( )
556 #endif
557 
558 #ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
560 #endif // AK_MONITOR_IMPLEMENT_ERRORCODES
561 
562 #endif // _AKMONITORERROR_H
@ ErrorCode_TooManyChildren
@ ErrorCode_SetEffectOnRendered
@ ErrorCode_CannotScheduleMusicSwitch
@ ErrorCode_FailedPostingEvent
@ ErrorCode_SoundEnginePlayingIdNotFound
@ ErrorCode_AmbisonicNotAvailable
ErrorCode
ErrorCode.
AKSOUNDENGINE_API AKRESULT PostCodeVaList(ErrorCode in_eError, ErrorLevel in_eErrorLevel, MsgContext msgContext, ::va_list args)
@ ErrorCode_PendingActionDestroyed
@ ErrorCode_3DObjectLimitExceeded
@ ErrorCode_GeometryNotWatertight
@ ErrorCode_SetPortalInvalidExtent
AkGameObjectID in_gameObjID
Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise.
@ ErrorCode_PluginProcessingFailed
@ ErrorCode_NXDeviceRegistrationFailed
@ ErrorCode_SetGeometryInstanceFailed
@ ErrorCode_ResetPlaylistActionIgnoredGlobalScope
void(* LocalOutputFunc)(ErrorCode in_eErrorCode, const AkOSChar *in_pszError, ErrorLevel in_eErrorLevel, AkPlayingID in_playingID, AkGameObjectID in_gameObjID)
Function prototype of local output function pointer.
@ ErrorCode_CannotInitialize3DAudio
Definition of data structures for AkAudioObject.
@ ErrorCode_TooLongSegmentLookAhead
@ ErrorCode_StreamingSourceStarving
@ ErrorCode_PluginUnsupportedChannelConfiguration
@ ErrorCode_RevertingToDefaultAudioDevice
@ ErrorCode_CrossFadeTransitionIgnored
@ ErrorCode_FileNotFound
V1::Notifications::Monitor Monitor
Latest version of the C++ Monitor notification interface.
@ ErrorCode_PluginFileRegisterFailed
@ ErrorCode_TooManySimultaneousMusicSegments
@ ErrorCode_CannotStartStreamNoMemory
@ ErrorCode_DataAlignement
@ ErrorCode_BankLoadFailed
@ ErrorCode_JobMgrOutOfMemory
@ ErrorCode_SoundEngineCantCallOnChildBus
@ ErrorCode_UnknownDialogueEvent
@ ErrorCode_SpatialAudio_ListenerAutomationNotSupported
MonitorErrorInfo(const AkOSChar *in_name=nullptr, const AkOSChar *in_message=nullptr)
@ ErrorCode_CannotSeekContinuous
@ ErrorCode_InvalidFloatInFunction
@ ErrorCode_ATRAC9LoopSectionTooSmall
@ ErrorCode_TranslatorWwiseTagTest
@ ErrorCode_SoundLoadFailedInsufficientMemory
@ ErrorCode_UnknownStateGroup
AKSOUNDENGINE_API AKRESULT AddTranslator(AkErrorMessageTranslator *translator, bool overridePreviousTranslators=false)
@ ErrorCode_HardwareOpusDecoderError
@ ErrorCode_PluginVersionMismatch
AkUInt64 AkGameObjectID
Game object ID.
Definition: AkTypedefs.h:47
@ ErrorCode_OutputAlreadyExists
@ ErrorCode_AudioFileHeaderTooLarge
AKSOUNDENGINE_API AKRESULT SetLocalOutput(AkUInt32 in_uErrorLevel=ErrorLevel_All, LocalOutputFunc in_pMonitorFunc=0)
@ ErrorCode_UnknownOpusError
@ ErrorCode_ActivityPlayback_Warning
@ ErrorCode_RevertingToDummyAudioDevice
@ ErrorCode_MasterBusStructureNotLoaded
@ ErrorCode_EventIDNotFound
@ ErrorCode_PluginInitialisationFailed
@ ErrorCode_MonitorMsgTooLarge
@ ErrorCode_PlayingTriggerRateNotSupported
@ ErrorCode_HwVoiceLimitReached
@ ErrorCode_PlaylistStoppedForEditing
@ ErrorCode_AudioThreadSuspended
@ ErrorCode_ModulatorScopeError_Inst
@ ErrorCode_SoundEngineTooManyPositions
#define AK_EXTERNAPIFUNC(_type, _name)
@ ErrorCode_TransitionNotAccurateChannel
@ ErrorCode_SetGeometryInstanceInvalidTransform
@ ErrorCode_AudioSubsystemStoppedResponding
@ ErrorCode_MediaDiscrepancy
@ ErrorCode_IncompatibleIOSettings
@ ErrorCode_InsufficientSpaceToLoadBank
@ ErrorCode_AudioNodeNotFound
@ ErrorCode_CannotPlaySource_VirtualOff
@ ErrorCode_ResetPlaylistActionIgnoredContinuous
@ ErrorCode_MediaUpdatedFromWwise
@ ErrorCode_MediaDuplicationLength
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
Definition: AkConstants.h:33
@ ErrorCode_CannotPlaySource_Create
@ ErrorCode_InvalidParameter
char AkOSChar
Generic character string.
Definition: AkTypes.h:60
AKSOUNDENGINE_API void MonitorStreamingDeviceInit(AkDeviceID in_deviceID, const AkDeviceSettings &in_deviceSettings)
AkUInt32 AkUniqueID
Unique 32-bit ID.
Definition: AkTypedefs.h:39
@ ErrorCode_MemoryAllocationFailed
AkPlayingID in_playingID
Related Playing ID if applicable.
@ ErrorCode_StingerCouldNotBeScheduled
bool in_bIsBus
true if in_audioNodeID is a bus
@ ErrorCode_ModulatorScopeError_Obj
@ ErrorCode_CannotInitializeInputCallbacks
@ ErrorCode_AudioOut2ContextCreateError
@ ErrorCode_SetGeometryTooManyTriangleConnected
@ ErrorCode_AudioDeviceRemoveFailure
@ ErrorCode_MissingMusicNodeParent
AKSOUNDENGINE_API void MonitorStreamMgrTerm()
@ ErrorCode_UnloadBankFailed
@ ErrorCode_RemovingGeometrySetFailed
@ ErrorCode_TransitionNotAccurateSourceTooShort
@ ErrorCode_PluginFileInvalid
@ ErrorCode_TranslatorStringSizeTest
AkUniqueID in_soundID
Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise.
@ ErrorCode_AudioDeviceShareSetNotFound
@ ErrorCode_InvalidFileSize
@ ErrorCode_NonCompliantDeviceMemory
@ ErrorCode_ExternalSourceNotResolved
@ ErrorCode_CannotOpenFile
@ ErrorCode_TransitionNotAccuratePluginMismatch
@ ErrorCode_CannotConnectAVAudioEngineSource
@ ErrorCode_DynamicSequenceIdNotFound
AkInt32 AkTimeMs
Time in ms.
Definition: AkTypedefs.h:43
@ ErrorCode_TranslatorStandardTagTest
@ ErrorCode_TransitionNotAccurateStarvation
@ ErrorCode_PluginMsgWithShareSet
@ ErrorCode_MusicRendererSeekingFailed
@ ErrorCode_InvalidFloatPriority
@ ErrorCode_SoundEngineNotInit
@ ErrorCode_SetGeometryTriangleTooLarge
@ ErrorCode_UnknownArgument
@ ErrorCode_SpatialAudio_SiblingPortal
@ ErrorCode_SetBusConfigUnsupported
@ ErrorCode_TransitionNotAccurateRejectedByPlugin
@ ErrorCode_MediaNotLoaded
@ ErrorCode_AudioOutOfRangeOnBusFx
@ ErrorCode_DeadGameObject
@ ErrorCode_MixPluginOnObjectBus
@ ErrorCode_AlreadyInitialized
@ ErrorCode_SetGeometryFailed
@ ErrorCode_VorbisSeekTableRecommended
@ ErrorCode_NotEnoughSystemObjWin
@ ErrorCode_NotEnoughMemInFunction
@ ErrorCode_ProxyObjectMemory
AKSOUNDENGINE_API AKRESULT PostCodeVarArg(ErrorCode in_eError, ErrorLevel in_eErrorLevel, MsgContext msgContext,...)
@ ErrorCode_CommandQueueFull
@ ErrorCode_HwVoicesSystemInitFailed
@ ErrorCode_VorbisHWDecodeUnavailable
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID.
Definition: AkConstants.h:36
@ ErrorCode_NotEnoughMemoryToStart
@ ErrorCode_ErrorWhileLoadingBank
@ ErrorCode_RemovingGeometryInstanceFailed
AKSOUNDENGINE_API AkTimeMs GetTimeStamp()
@ ErrorCode_AudioDeviceNotFound
@ ErrorCode_PluginMediaUnavailable
@ ErrorCode_WrongNumberOfArguments
MsgContext(AkPlayingID pId=AK_INVALID_PLAYING_ID, AkGameObjectID goId=AK_INVALID_GAME_OBJECT, AkUniqueID nodeId=AK_INVALID_UNIQUE_ID, bool isBus=false)
@ ErrorCode_SoundEngineInvalidTransform
@ ErrorCode_FeedbackOnAudioObjectsBus
const MonitorErrorInfo s_aszMonitorErrorInfos[Num_ErrorCodes]
@ ErrorCode_CannotPlaySource_FileAccess
@ ErrorCode_MediaErrorFromWwise
@ ErrorCode_ChannelConfigRequestDenied
@ ErrorCode_OpusDecodeError
@ ErrorCode_SetPortalNonDistinctRoom
@ ErrorCode_CantSetBoundSwitch
@ ErrorCode_PluginFileNotFound
@ ErrorCode_OpusRequireSeekTable
@ ErrorCode_AudioDeviceNotValid
@ ErrorCode_IODeviceInitFailed
#define AK_CALLBACK(_type, _name)
@ ErrorCode_OutputDeviceInitializationFailed
@ ErrorCode_SpatialAudio_ReflectionBusError
@ ErrorCode_CannotPlaySource_InconsistentState
@ ErrorCode_SelectedNodeNotAvailable
@ ErrorCode_SetGameObjectRadiusSizeError
@ ErrorCode_SetGeometryTriangleIsSkipped
@ ErrorCode_OpusHWFatalError
@ ErrorCode_MediaErrorWwiseMRUFull
@ ErrorCode_PluginCannotRunOnObjectConfig
@ ErrorCode_CannotInitializeAmbisonicChannelConfiguration
AKSOUNDENGINE_API void MonitorStreamMgrInit(const AkStreamMgrSettings &in_streamMgrSettings)
Add the streaming manager settings to the profiler capture.
@ ErrorCode_GameObjectIsNotEmitter
AKRESULT
Definition: AkEnums.h:32
@ ErrorCode_WwiseIODisconnected
@ ErrorCode_HwVoiceInitFailed
@ ErrorCode_InvalidGroupID
@ ErrorCode_OpusHWDecodeUnavailable
@ ErrorCode_InvalidAudioFileHeader
@ ErrorCode_CommandTooLarge
@ ErrorCode_JobWorkerFuncCallMismatch
@ ErrorCode_LowerEngineCommandListFull
@ ErrorCode_AudioOutOfRangeRay
@ ErrorCode_DynamicSequenceAlreadyClosed
@ ErrorCode_CannotPlaySource_TimeSkip
@ ErrorCode_SelectedMediaNotAvailable
@ ErrorCode_PluginFileIncompatible
@ ErrorCode_NotEnoughSystemObj
@ ErrorCode_VirtualVoiceLimit
@ ErrorCode_PluginExecutionInvalid
@ ErrorCode_SoundEngineTooManyEventPosts
@ ErrorCode_TransitionNotAccurateCodecError
@ ErrorCode_AudioDeviceInitFailure
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID.
Definition: AkConstants.h:34
@ ErrorCode_AudioOutOfRangeOnBus
uint32_t AkUInt32
Unsigned 32-bit integer.
AKSOUNDENGINE_API void MonitorStreamingDeviceDestroyed(AkDeviceID in_deviceID)
@ ErrorCode_BankContainUneditableEffect
AKSOUNDENGINE_API AKRESULT ResetTranslator()
@ ErrorCode_LoadingBankMismatch
@ ErrorCode_SystemAudioObjectsUnavailable
@ ErrorCode_UnexpectedPrepareGameSyncsCall
@ ErrorCode_AddOutputListenerIdWithZeroListeners
@ ErrorCode_CodecNotRegistered
@ ErrorCode_UnknownGameObject
@ ErrorCode_HwVoicesDecodeBatchFailed
@ ErrorCode_AudioOutOfRange
@ ErrorCode_InvalidCommand
@ ErrorCode_SoundEngineTooManyGameObjects
@ ErrorCode_SourcePluginNotFound
@ ErrorCode_PlayingIDAlreadyExists
AKSOUNDENGINE_API AKRESULT PostCode(ErrorCode in_eError, ErrorLevel in_eErrorLevel, AkPlayingID in_playingID=AK_INVALID_PLAYING_ID, AkGameObjectID in_gameObjID=AK_INVALID_GAME_OBJECT, AkUniqueID in_audioNodeID=AK_INVALID_UNIQUE_ID, bool in_bIsBus=false)
@ ErrorCode_MaxAudioObjExceeded
@ ErrorCode_FLTMAXNotSupported
@ ErrorCode_MismatchingMediaSize
@ ErrorCode_MusicClipsRescheduledAfterTrackEdit
@ ErrorCode_AddOutputNoDistinctListener
@ ErrorCode_AudioDeviceShareSetNotFoundByName
@ ErrorCode_ATRAC9DecodeFailed
@ ErrorCode_3DAudioUnsupportedSize
@ ErrorCode_VorbisDecodeError
@ ErrorCode_NoSwitchSelected
@ ErrorCode_OpusHWCommandFailed
@ ErrorCode_WwiseIODisconnectedStr
ErrorLevel
ErrorLevel.
@ ErrorCode_FilePermissionError
@ ErrorCode_BusNotFoundByName
@ ErrorCode_MonitorQueueFull
@ ErrorCode_ProxyObjectMismatch
@ ErrorCode_PluginFileNotEnoughMemoryToStart
@ ErrorCode_NoDefaultSwitch
@ ErrorCode_FileFormatMismatch
AkUInt32 AkPlayingID
A unique identifier generated whenever a PostEvent is called (or when a Dynamic Sequence is created)....
Definition: AkTypedefs.h:42
@ ErrorCode_PluginNotRegistered
@ ErrorCode_ExternalSourceNoMemorySize
AkUInt32 AkDeviceID
I/O device ID.
Definition: AkTypedefs.h:65
@ ErrorCode_AudioThreadResumed
@ ErrorCode_IncompatibleBankVersion
@ ErrorCode_PluginAllocationFailed
@ ErrorCode_SwitchListEmpty
@ ErrorCode_GameObjectNeverRegistered
@ ErrorCode_SpatialAudio_PortalNotFound
@ ErrorCode_AudioOut2UserCreateError
@ ErrorCode_SeekAfterEndOfPlaylist
@ ErrorCode_CannotInitializePassthrough
AKSOUNDENGINE_API AKRESULT PostString(const char *in_pszError, ErrorLevel in_eErrorLevel, AkPlayingID in_playingID=AK_INVALID_PLAYING_ID, AkGameObjectID in_gameObjID=AK_INVALID_GAME_OBJECT, AkUniqueID in_audioNodeID=AK_INVALID_UNIQUE_ID, bool in_bIsBus=false)

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise