Version

menu_open
Warning: you were redirected to the latest documentation corresponding to your major release ( 2023.1.7.8574 ). Should you wish to access your specific version's documentation, please download the offline documentation from the Audiokinetic Launcher and check the Offline Documentation option in Wwise Authoring.
Wwise SDK 2023.1.7
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) 2024 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 
132 
136 
138 
143 
147 
149 
153 
155  ErrorCode_GameObjectNeverRegistered, //To be used by the Capture Log to replace ErrorCode_UnknownGameObject
156  ErrorCode_DeadGameObject, //To be used by the Capture Log to replace ErrorCode_UnknownGameObject
158 
161 
164 
167 
170 
172 
175 
177 
179 
181  ErrorCode_UnknownOpusError, //Deprecated Opus error.
182 
187 
190 
191  ErrorCode_HwVoicesSystemInitFailed, // When the hardware-accelerated subsystem fails to initialize
192  ErrorCode_HwVoicesDecodeBatchFailed, // When a grouping of hardware-accelerated voices fail to decode collectively
193  ErrorCode_HwVoiceLimitReached, // Cannot create any more hardware-accelerated voices
194  ErrorCode_HwVoiceInitFailed, // A hardware-accelerated voice fails to be created, but not because the max number of voices was reached
195 
197 
199 
201 
205 
207 
209 
212 
215 
218 
220 
223 
226 
227 
237 
243 
245 
250 
251  //MONITOR_ERRORMSG
256 
263 
265 
273 
279 
288 
302 
312 
313  //AkSpatialAudio:AkMonitorError_WithID
318 
319  //Invalid float
322 
323 
328 
330 
338 
340 
345 
347 
359 
362 
366 
375 
378 
380 
381  // ALWAYS ADD NEW CODES AT THE END !!!!!!!
382  // Otherwise it may break comm compatibility in a patch
383 
384  Num_ErrorCodes // THIS STAYS AT END OF ENUM
385  };
386 
387  static_assert(Num_ErrorCodes == 228,
388  "Please document your new ErrorCode "
389  "in 'Documentation/Help/source_en/reference/common_errors_capture_log.xml', "
390  "then you can increment this value."
391  );
392 
393  /// Function prototype of local output function pointer.
395  ErrorCode in_eErrorCode, ///< Error code number value
396  const AkOSChar* in_pszError, ///< Message or error string to be displayed
397  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
398  AkPlayingID in_playingID, ///< Related Playing ID if applicable, AK_INVALID_PLAYING_ID otherwise
399  AkGameObjectID in_gameObjID ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
400  );
401 
403 
404  /// Post a monitoring message or error code. This will be displayed in the Wwise capture
405  /// log. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag.
406  /// Otherwise, there'll be an undefined behavior
407  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
408  /// In optimized mode, this function returns AK_NotCompatible.
409  /// \remark This function is provided as a tracking tool only. It does nothing if it is
410  /// called in the optimized/release configuration and return AK_NotCompatible.
412  ErrorCode in_eError, ///< Message or error code to be displayed
413  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
414  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
415  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
416  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
417  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
418  );
419 
421  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.
422  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
423  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
424  ... ///< The variable arguments, depending on the ErrorCode posted.
425  );
426 
427  /// Post a monitoring message. This will be displayed in the Wwise capture log.
428  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
429  /// In optimized mode, this function returns AK_NotCompatible.
430  /// \remark This function is provided as a tracking tool only. It does nothing if it is
431  /// called in the optimized/release configuration and return AK_NotCompatible.
433  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.
434  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
435  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
436  ::va_list args ///< The variable arguments, depending on the ErrorCode posted.
437  );
438 
439 #ifdef AK_SUPPORT_WCHAR
440  /// Post a unicode monitoring message or error string. This will be displayed in the Wwise capture
441  /// log.
442  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
443  /// In optimized mode, this function returns AK_NotCompatible.
444  /// \remark This function is provided as a tracking tool only. It does nothing if it is
445  /// called in the optimized/release configuration and return AK_NotCompatible.
447  const wchar_t* in_pszError, ///< Message or error string to be displayed
448  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
449  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
450  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
451  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
452  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
453  );
454 
455 #endif // #ifdef AK_SUPPORT_WCHAR
456 
457  /// Post a monitoring message or error string. This will be displayed in the Wwise capture
458  /// log.
459  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
460  /// In optimized mode, this function returns AK_NotCompatible.
461  /// \remark This function is provided as a tracking tool only. It does nothing if it is
462  /// called in the optimized/release configuration and return AK_NotCompatible.
464  const char* in_pszError, ///< Message or error string to be displayed
465  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
466  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
467  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
468  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
469  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
470  );
471 
472  /// Enable/Disable local output of monitoring messages or errors. Pass 0 to disable,
473  /// or any combination of ErrorLevel_Message and ErrorLevel_Error to enable.
474  /// \return AK_Success.
475  /// In optimized/release configuration, this function returns AK_NotCompatible.
477  AkUInt32 in_uErrorLevel = ErrorLevel_All, ///< ErrorLevel(s) to enable in output. Default parameters enable all.
478  LocalOutputFunc in_pMonitorFunc = 0 ///< Handler for local output. If NULL, the standard platform debug output method is used.
479  );
480 
481  /// Add a translator to the wwiseErrorHandler
482  /// The additional translators increase the chance of a monitoring messages or errors
483  /// to be succeffully translated.
484  /// \return AK_Success.
485  /// In optimized/release configuration, this function returns AK_NotCompatible.
487  AkErrorMessageTranslator* translator, ///< The AkErrorMessageTranslator to add to the WwiseErrorHandler
488  bool overridePreviousTranslators = false ///< Whether or not the newly added translator should override all the previous translators.
489  ///< In both cases, the default translator will remain
490  );
491 
492  /// Reset the wwiseErrorHandler to only using the default translator
493  /// \return AK_Success.
494  /// In optimized/release configuration, this function returns AK_NotCompatible.
496  );
497 
498  /// Get the time stamp shown in the capture log along with monitoring messages.
499  /// \return Time stamp in milliseconds.
500  /// In optimized/release configuration, this function returns 0.
502 
503  /// Add the streaming manager settings to the profiler capture.
505  const AkStreamMgrSettings& in_streamMgrSettings
506  );
507 
508  /// Add device settings to the list of active streaming devices.
509  /// The list of streaming devices and their settings will be
510  /// sent to the profiler capture when remote connecting from Wwise.
511  ///
512  /// \remark \c AK::Monitor::MonitorStreamMgrTerm must be called to
513  /// clean-up memory used to keep track of active streaming devices.
515  AkDeviceID in_deviceID,
516  const AkDeviceSettings& in_deviceSettings
517  );
518 
519  /// Remove streaming device entry from the list of devices
520  /// to send when remote connecting from Wwise.
522  AkDeviceID in_deviceID
523  );
524 
525  /// Monitor streaming manager destruction as part of the
526  /// profiler capture.
527  ///
528  /// \remark This function must be called to clean-up memory used by
529  /// \c AK::Monitor::MonitorStreamingDeviceInit and \c AK::Monitor::MonitorStreamingDeviceTerm
530  /// to keep track of active streaming devices.
532  }
533 }
534 
535 // Macros.
536 #ifndef AK_OPTIMIZED
537  #define AK_MONITOR_ERROR( in_eErrorCode ) \
538  AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
539 
540  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings ) \
541  AK::Monitor::MonitorStreamMgrInit( in_streamMgrSettings )
542 
543  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings ) \
544  AK::Monitor::MonitorStreamingDeviceInit( in_deviceID, in_deviceSettings )
545 
546  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID ) \
547  AK::Monitor::MonitorStreamingDeviceDestroyed( in_deviceID )
548 
549  #define AK_MONITOR_STREAM_MGR_TERM( ) \
550  AK::Monitor::MonitorStreamMgrTerm()
551 #else
552  #define AK_MONITOR_ERROR( in_eErrorCode )
553  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings )
554  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings )
555  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID )
556  #define AK_MONITOR_STREAM_MGR_TERM( )
557 #endif
558 
559 #ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
561 #endif // AK_MONITOR_IMPLEMENT_ERRORCODES
562 
563 #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_MusicEngineNotInitialized
@ 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
AkInt32 AkTimeMs
Time in ms.
Definition: AkTypes.h:56
Audiokinetic namespace.
@ 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
@ ErrorCode_XboxXMAFatalError
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
@ ErrorCode_OutputAlreadyExists
@ ErrorCode_AudioFileHeaderTooLarge
AKSOUNDENGINE_API AKRESULT SetLocalOutput(AkUInt32 in_uErrorLevel=ErrorLevel_All, LocalOutputFunc in_pMonitorFunc=0)
@ ErrorCode_UnknownOpusError
@ ErrorCode_RevertingToDummyAudioDevice
@ ErrorCode_MasterBusStructureNotLoaded
@ ErrorCode_EventIDNotFound
@ ErrorCode_PluginInitialisationFailed
@ ErrorCode_MonitorMsgTooLarge
@ ErrorCode_PlayingTriggerRateNotSupported
AkUInt64 AkGameObjectID
Game object ID.
Definition: AkTypes.h:60
@ ErrorCode_HwVoiceLimitReached
@ ErrorCode_PlaylistStoppedForEditing
@ ErrorCode_AudioThreadSuspended
@ ErrorCode_ModulatorScopeError_Inst
@ ErrorCode_SoundEngineTooManyPositions
#define AK_EXTERNAPIFUNC(_type, _name)
@ ErrorCode_TransitionNotAccurateChannel
@ ErrorCode_SetGeometryInstanceInvalidTransform
@ ErrorCode_AudioSubsystemStoppedResponding
AKRESULT
Standard function call result.
Definition: AkTypes.h:131
AkUInt32 AkDeviceID
I/O device ID.
Definition: AkTypes.h:78
@ ErrorCode_IncompatibleIOSettings
@ ErrorCode_InsufficientSpaceToLoadBank
@ ErrorCode_AudioNodeNotFound
@ ErrorCode_CannotPlaySource_VirtualOff
@ ErrorCode_ResetPlaylistActionIgnoredContinuous
@ ErrorCode_MediaUpdatedFromWwise
@ ErrorCode_MediaDuplicationLength
@ 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)
@ ErrorCode_MemoryAllocationFailed
AkPlayingID in_playingID
Related Playing ID if applicable.
@ ErrorCode_StingerCouldNotBeScheduled
bool in_bIsBus
true if in_audioNodeID is a bus
@ ErrorCode_XMAStreamBufferTooSmall
@ ErrorCode_ModulatorScopeError_Obj
@ ErrorCode_CannotInitializeInputCallbacks
@ ErrorCode_AudioOut2ContextCreateError
@ ErrorCode_SetMixerFailed
@ 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
@ ErrorCode_TranslatorStandardTagTest
@ ErrorCode_TransitionNotAccurateStarvation
@ ErrorCode_PluginMsgWithShareSet
@ ErrorCode_MusicRendererSeekingFailed
@ ErrorCode_InvalidFloatPriority
AkUInt32 AkUniqueID
Unique 32-bit ID.
Definition: AkTypes.h:52
@ 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
AKSOUNDENGINE_API AKRESULT PostCodeVarArg(ErrorCode in_eError, ErrorLevel in_eErrorLevel, MsgContext msgContext,...)
@ ErrorCode_CommandQueueFull
@ ErrorCode_HwVoicesSystemInitFailed
@ ErrorCode_VorbisHWDecodeUnavailable
@ ErrorCode_XMADecoderSourceStarving
@ 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_SetMixerNotABus
@ ErrorCode_SoundEngineInvalidTransform
@ ErrorCode_FeedbackOnAudioObjectsBus
const MonitorErrorInfo s_aszMonitorErrorInfos[Num_ErrorCodes]
@ ErrorCode_XboxACPMessage
@ 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
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID.
Definition: AkTypes.h:95
@ ErrorCode_XMADecodingError
@ ErrorCode_OpusHWFatalError
@ ErrorCode_MediaErrorWwiseMRUFull
@ ErrorCode_PluginCannotRunOnObjectConfig
@ ErrorCode_CannotInitializeAmbisonicChannelConfiguration
@ ErrorCode_XboxFrameDropped
@ ErrorCode_XMACreateDecoderLimitReached
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID.
Definition: AkTypes.h:97
AKSOUNDENGINE_API void MonitorStreamMgrInit(const AkStreamMgrSettings &in_streamMgrSettings)
Add the streaming manager settings to the profiler capture.
@ ErrorCode_GameObjectIsNotEmitter
@ ErrorCode_HwVoiceInitFailed
@ ErrorCode_InvalidGroupID
@ ErrorCode_XboxXMAVoiceResetFailed
@ ErrorCode_OpusHWDecodeUnavailable
@ ErrorCode_InvalidAudioFileHeader
@ ErrorCode_CommandTooLarge
@ ErrorCode_JobWorkerFuncCallMismatch
@ ErrorCode_LowerEngineCommandListFull
@ ErrorCode_AudioOutOfRangeRay
@ ErrorCode_DynamicSequenceAlreadyClosed
@ ErrorCode_AssetSwapEnabled
@ ErrorCode_CannotPlaySource_TimeSkip
@ ErrorCode_SelectedMediaNotAvailable
@ ErrorCode_PluginFileIncompatible
@ ErrorCode_NotEnoughSystemObj
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
Definition: AkTypes.h:94
@ ErrorCode_VirtualVoiceLimit
@ ErrorCode_PluginExecutionInvalid
@ ErrorCode_SoundEngineTooManyEventPosts
@ ErrorCode_TransitionNotAccurateCodecError
@ ErrorCode_AudioDeviceInitFailure
@ ErrorCode_AudioOutOfRangeOnBus
uint32_t AkUInt32
Unsigned 32-bit integer.
AKSOUNDENGINE_API void MonitorStreamingDeviceDestroyed(AkDeviceID in_deviceID)
@ ErrorCode_BankContainUneditableEffect
@ ErrorCode_InvalidXMAData
AKSOUNDENGINE_API AKRESULT ResetTranslator()
@ ErrorCode_LoadingBankMismatch
@ ErrorCode_SystemAudioObjectsUnavailable
@ ErrorCode_UnexpectedPrepareGameSyncsCall
@ ErrorCode_AddOutputListenerIdWithZeroListeners
@ ErrorCode_CodecNotRegistered
@ ErrorCode_UnknownGameObject
@ ErrorCode_HwVoicesDecodeBatchFailed
@ ErrorCode_AudioOutOfRange
@ ErrorCode_SoundEngineTooManyGameObjects
@ ErrorCode_SourcePluginNotFound
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
ErrorLevel
ErrorLevel.
@ ErrorCode_FilePermissionError
@ ErrorCode_BusNotFoundByName
@ ErrorCode_MonitorQueueFull
@ ErrorCode_PluginFileNotEnoughMemoryToStart
@ ErrorCode_NoDefaultSwitch
AkUInt32 AkPlayingID
Playing ID.
Definition: AkTypes.h:55
@ ErrorCode_FileFormatMismatch
@ ErrorCode_PluginNotRegistered
@ ErrorCode_ExternalSourceNoMemorySize
@ 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