バージョン

menu_open
Wwise SDK 2024.1.1
AkMonitorError.h
[詳解]
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;
69  };
70 
71  /// 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 
271 
274 
283 
292 
302 
303  //AkSpatialAudio:AkMonitorError_WithID
308 
309  //Invalid float
312 
313 
318 
320 
328 
330 
335 
337 
349 
352 
356 
365 
367 
370 
376 
377  // ALWAYS ADD NEW CODES AT THE END !!!!!!!
378  // Otherwise it may break comm compatibility in a patch
379 
380  Num_ErrorCodes // THIS STAYS AT END OF ENUM
381  };
382 
383  static_assert(Num_ErrorCodes == 223,
384  "Please document your new ErrorCode "
385  "in 'Documentation/Help/source_en/reference/common_errors_capture_log.xml', "
386  "then you can increment this value."
387  );
388 
389  /// Function prototype of local output function pointer.
391  ErrorCode in_eErrorCode, ///< Error code number value
392  const AkOSChar* in_pszError, ///< Message or error string to be displayed
393  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
394  AkPlayingID in_playingID, ///< Related Playing ID if applicable, AK_INVALID_PLAYING_ID otherwise
395  AkGameObjectID in_gameObjID ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
396  );
397 
399 
400  /// Post a monitoring message or error code. This will be displayed in the Wwise capture
401  /// log. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag.
402  /// Otherwise, there'll be an undefined behavior
403  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
404  /// In optimized mode, this function returns AK_NotCompatible.
405  /// \remark This function is provided as a tracking tool only. It does nothing if it is
406  /// called in the optimized/release configuration and return AK_NotCompatible.
408  ErrorCode in_eError, ///< Message or error code to be displayed
409  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
410  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
411  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
412  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
413  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
414  );
415 
417  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.
418  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
419  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
420  ... ///< The variable arguments, depending on the ErrorCode posted.
421  );
422 
423  /// Post a monitoring message. This will be displayed in the Wwise capture log.
424  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
425  /// In optimized mode, this function returns AK_NotCompatible.
426  /// \remark This function is provided as a tracking tool only. It does nothing if it is
427  /// called in the optimized/release configuration and return AK_NotCompatible.
429  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.
430  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
431  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
432  ::va_list args ///< The variable arguments, depending on the ErrorCode posted.
433  );
434 
435 #ifdef AK_SUPPORT_WCHAR
436  /// Post a unicode monitoring message or error string. This will be displayed in the Wwise capture
437  /// log.
438  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
439  /// In optimized mode, this function returns AK_NotCompatible.
440  /// \remark This function is provided as a tracking tool only. It does nothing if it is
441  /// called in the optimized/release configuration and return AK_NotCompatible.
443  const wchar_t* in_pszError, ///< Message or error string to be displayed
444  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
445  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
446  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
447  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
448  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
449  );
450 
451 #endif // #ifdef AK_SUPPORT_WCHAR
452 
453  /// Post a monitoring message or error string. This will be displayed in the Wwise capture
454  /// log.
455  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
456  /// In optimized mode, this function returns AK_NotCompatible.
457  /// \remark This function is provided as a tracking tool only. It does nothing if it is
458  /// called in the optimized/release configuration and return AK_NotCompatible.
460  const char* in_pszError, ///< Message or error string to be displayed
461  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
462  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
463  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
464  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
465  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
466  );
467 
468  /// Enable/Disable local output of monitoring messages or errors. Pass 0 to disable,
469  /// or any combination of ErrorLevel_Message and ErrorLevel_Error to enable.
470  /// \return AK_Success.
471  /// In optimized/release configuration, this function returns AK_NotCompatible.
473  AkUInt32 in_uErrorLevel = ErrorLevel_All, ///< ErrorLevel(s) to enable in output. Default parameters enable all.
474  LocalOutputFunc in_pMonitorFunc = 0 ///< Handler for local output. If NULL, the standard platform debug output method is used.
475  );
476 
477  /// Add a translator to the wwiseErrorHandler
478  /// The additional translators increase the chance of a monitoring messages or errors
479  /// to be successfully translated.
480  /// \return AK_Success.
481  /// In optimized/release configuration, this function returns AK_NotCompatible.
483  AkErrorMessageTranslator* translator, ///< The AkErrorMessageTranslator to add to the WwiseErrorHandler
484  bool overridePreviousTranslators = false ///< Whether or not the newly added translator should override all the previous translators.
485  ///< In both cases, the default translator will remain
486  );
487 
488  /// Reset the wwiseErrorHandler to only using the default translator
489  /// \return AK_Success.
490  /// In optimized/release configuration, this function returns AK_NotCompatible.
492  );
493 
494  /// Get the time stamp shown in the capture log along with monitoring messages.
495  /// \return Time stamp in milliseconds.
496  /// In optimized/release configuration, this function returns 0.
498 
499  /// Add the streaming manager settings to the profiler capture.
501  const AkStreamMgrSettings& in_streamMgrSettings
502  );
503 
504  /// Add device settings to the list of active streaming devices.
505  /// The list of streaming devices and their settings will be
506  /// sent to the profiler capture when remote connecting from Wwise.
507  ///
508  /// \remark \c AK::Monitor::MonitorStreamMgrTerm must be called to
509  /// clean-up memory used to keep track of active streaming devices.
511  AkDeviceID in_deviceID,
512  const AkDeviceSettings& in_deviceSettings
513  );
514 
515  /// Remove streaming device entry from the list of devices
516  /// to send when remote connecting from Wwise.
518  AkDeviceID in_deviceID
519  );
520 
521  /// Monitor streaming manager destruction as part of the
522  /// profiler capture.
523  ///
524  /// \remark This function must be called to clean-up memory used by
525  /// \c AK::Monitor::MonitorStreamingDeviceInit and \c AK::Monitor::MonitorStreamingDeviceTerm
526  /// to keep track of active streaming devices.
528  }
529 }
530 
531 // Macros.
532 #ifndef AK_OPTIMIZED
533  #define AK_MONITOR_ERROR( in_eErrorCode ) \
534  AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
535 
536  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings ) \
537  AK::Monitor::MonitorStreamMgrInit( in_streamMgrSettings )
538 
539  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings ) \
540  AK::Monitor::MonitorStreamingDeviceInit( in_deviceID, in_deviceSettings )
541 
542  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID ) \
543  AK::Monitor::MonitorStreamingDeviceDestroyed( in_deviceID )
544 
545  #define AK_MONITOR_STREAM_MGR_TERM( ) \
546  AK::Monitor::MonitorStreamMgrTerm()
547 #else
548  #define AK_MONITOR_ERROR( in_eErrorCode )
549  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings )
550  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings )
551  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID )
552  #define AK_MONITOR_STREAM_MGR_TERM( )
553 #endif
554 
555 #ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
557 #endif // AK_MONITOR_IMPLEMENT_ERRORCODES
558 
559 #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
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
@ 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
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
@ ErrorCode_MediaDiscrepancy
AKRESULT
Standard function call result.
Definition: AkTypes.h:134
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_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
@ 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
@ ErrorCode_ProxyObjectMemory
AKSOUNDENGINE_API AKRESULT PostCodeVarArg(ErrorCode in_eError, ErrorLevel in_eErrorLevel, MsgContext msgContext,...)
@ ErrorCode_CommandQueueFull
@ ErrorCode_HwVoicesSystemInitFailed
@ ErrorCode_VorbisHWDecodeUnavailable
@ 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
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID
Definition: AkTypes.h:97
@ ErrorCode_OpusHWFatalError
@ ErrorCode_MediaErrorWwiseMRUFull
@ ErrorCode_PluginCannotRunOnObjectConfig
@ ErrorCode_CannotInitializeAmbisonicChannelConfiguration
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID
Definition: AkTypes.h:99
AKSOUNDENGINE_API void MonitorStreamMgrInit(const AkStreamMgrSettings &in_streamMgrSettings)
Add the streaming manager settings to the profiler capture.
@ ErrorCode_GameObjectIsNotEmitter
@ 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
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
Definition: AkTypes.h:96
@ 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
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
@ ErrorCode_WwiseIODisconnectedStr
ErrorLevel
ErrorLevel
@ ErrorCode_FilePermissionError
@ ErrorCode_BusNotFoundByName
@ ErrorCode_MonitorQueueFull
@ ErrorCode_ProxyObjectMismatch
@ 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)

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう