Version
menu

Wwise SDK 2025.1.2
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 
381 
383 
384  // ALWAYS ADD NEW CODES AT THE END !!!!!!!
385  // Otherwise it may break comm compatibility in a patch
386 
387  Num_ErrorCodes // THIS STAYS AT END OF ENUM
388  };
389 
390  static_assert(Num_ErrorCodes == 227,
391  "Please document your new ErrorCode "
392  "in 'Documentation/Help/source_en/reference/common_errors_capture_log.xml', "
393  "then you can increment this value."
394  );
395 
396  /// Function prototype of local output function pointer.
398  ErrorCode in_eErrorCode, ///< Error code number value
399  const AkOSChar* in_pszError, ///< Message or error string to be displayed
400  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
401  AkPlayingID in_playingID, ///< Related Playing ID if applicable, AK_INVALID_PLAYING_ID otherwise
402  AkGameObjectID in_gameObjID ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
403  );
404 
406 
407  /// Post a monitoring message or error code. This will be displayed in the Wwise capture
408  /// log. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag.
409  /// Otherwise, there'll be an undefined behavior
410  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
411  /// In optimized mode, this function returns AK_NotCompatible.
412  /// \remark This function is provided as a tracking tool only. It does nothing if it is
413  /// called in the optimized/release configuration and return AK_NotCompatible.
415  ErrorCode in_eError, ///< Message or error code to be displayed
416  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
417  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
418  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
419  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
420  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
421  );
422 
424  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.
425  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
426  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
427  ... ///< The variable arguments, depending on the ErrorCode posted.
428  );
429 
430  /// Post a monitoring message. This will be displayed in the Wwise capture log.
431  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
432  /// In optimized mode, this function returns AK_NotCompatible.
433  /// \remark This function is provided as a tracking tool only. It does nothing if it is
434  /// called in the optimized/release configuration and return AK_NotCompatible.
436  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.
437  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
438  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
439  ::va_list args ///< The variable arguments, depending on the ErrorCode posted.
440  );
441 
442 #ifdef AK_SUPPORT_WCHAR
443  /// Post a unicode monitoring message or error string. This will be displayed in the Wwise capture
444  /// log.
445  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
446  /// In optimized mode, this function returns AK_NotCompatible.
447  /// \remark This function is provided as a tracking tool only. It does nothing if it is
448  /// called in the optimized/release configuration and return AK_NotCompatible.
450  const wchar_t* in_pszError, ///< Message or error string to be displayed
451  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
452  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
453  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
454  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
455  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
456  );
457 
458 #endif // #ifdef AK_SUPPORT_WCHAR
459 
460  /// Post a monitoring message or error string. This will be displayed in the Wwise capture
461  /// log.
462  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
463  /// In optimized mode, this function returns AK_NotCompatible.
464  /// \remark This function is provided as a tracking tool only. It does nothing if it is
465  /// called in the optimized/release configuration and return AK_NotCompatible.
467  const char* in_pszError, ///< Message or error string to be displayed
468  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
469  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
470  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
471  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
472  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
473  );
474 
475  /// Enable/Disable local output of monitoring messages or errors. Pass 0 to disable,
476  /// or any combination of ErrorLevel_Message and ErrorLevel_Error to enable.
477  /// \return AK_Success.
478  /// In optimized/release configuration, this function returns AK_NotCompatible.
480  AkUInt32 in_uErrorLevel = ErrorLevel_All, ///< ErrorLevel(s) to enable in output. Default parameters enable all.
481  LocalOutputFunc in_pMonitorFunc = 0 ///< Handler for local output. If NULL, the standard platform debug output method is used.
482  );
483 
484  /// Add a translator to the wwiseErrorHandler
485  /// The additional translators increase the chance of a monitoring messages or errors
486  /// to be successfully translated.
487  /// \return AK_Success.
488  /// In optimized/release configuration, this function returns AK_NotCompatible.
490  AkErrorMessageTranslator* translator, ///< The AkErrorMessageTranslator to add to the WwiseErrorHandler
491  bool overridePreviousTranslators = false ///< Whether or not the newly added translator should override all the previous translators.
492  ///< In both cases, the default translator will remain
493  );
494 
495  /// Reset the wwiseErrorHandler to only using the default translator
496  /// \return AK_Success.
497  /// In optimized/release configuration, this function returns AK_NotCompatible.
499  );
500 
501  /// Get the time stamp shown in the capture log along with monitoring messages.
502  /// \return Time stamp in milliseconds.
503  /// In optimized/release configuration, this function returns 0.
505 
506  /// Add the streaming manager settings to the profiler capture.
508  const AkStreamMgrSettings& in_streamMgrSettings
509  );
510 
511  /// Add device settings to the list of active streaming devices.
512  /// The list of streaming devices and their settings will be
513  /// sent to the profiler capture when remote connecting from Wwise.
514  ///
515  /// \remark \c AK::Monitor::MonitorStreamMgrTerm must be called to
516  /// clean-up memory used to keep track of active streaming devices.
518  AkDeviceID in_deviceID,
519  const AkDeviceSettings& in_deviceSettings
520  );
521 
522  /// Remove streaming device entry from the list of devices
523  /// to send when remote connecting from Wwise.
525  AkDeviceID in_deviceID
526  );
527 
528  /// Monitor streaming manager destruction as part of the
529  /// profiler capture.
530  ///
531  /// \remark This function must be called to clean-up memory used by
532  /// \c AK::Monitor::MonitorStreamingDeviceInit and \c AK::Monitor::MonitorStreamingDeviceTerm
533  /// to keep track of active streaming devices.
535  }
536 }
537 
538 // Macros.
539 #ifndef AK_OPTIMIZED
540  #define AK_MONITOR_ERROR( in_eErrorCode ) \
541  AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
542 
543  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings ) \
544  AK::Monitor::MonitorStreamMgrInit( in_streamMgrSettings )
545 
546  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings ) \
547  AK::Monitor::MonitorStreamingDeviceInit( in_deviceID, in_deviceSettings )
548 
549  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID ) \
550  AK::Monitor::MonitorStreamingDeviceDestroyed( in_deviceID )
551 
552  #define AK_MONITOR_STREAM_MGR_TERM( ) \
553  AK::Monitor::MonitorStreamMgrTerm()
554 #else
555  #define AK_MONITOR_ERROR( in_eErrorCode )
556  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings )
557  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings )
558  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID )
559  #define AK_MONITOR_STREAM_MGR_TERM( )
560 #endif
561 
562 #ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
564 #endif // AK_MONITOR_IMPLEMENT_ERRORCODES
565 
566 #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
@ ErrorCode_NodeNotCompatibleWithMidi
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_SetSidechainMixConfigInvalid
@ 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