버전

menu_open
Wwise SDK 2022.1.18
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 
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 
358 
359  // ALWAYS ADD NEW CODES AT THE END !!!!!!!
360  // Otherwise it may break comm compatibility in a patch
361 
362  Num_ErrorCodes // THIS STAYS AT END OF ENUM
363  };
364 
365  static_assert(Num_ErrorCodes == 211,
366  "Please document your new ErrorCode "
367  "in 'Documentation/Help/source_en/reference/common_errors_capture_log.xml', "
368  "then you can increment this value."
369  );
370 
371  /// Function prototype of local output function pointer.
373  ErrorCode in_eErrorCode, ///< Error code number value
374  const AkOSChar* in_pszError, ///< Message or error string to be displayed
375  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
376  AkPlayingID in_playingID, ///< Related Playing ID if applicable, AK_INVALID_PLAYING_ID otherwise
377  AkGameObjectID in_gameObjID ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
378  );
379 
381 
382  /// Post a monitoring message or error code. This will be displayed in the Wwise capture
383  /// log. Since this function doesn't send variable arguments, be sure that the error code you're posting doesn't contain any tag.
384  /// Otherwise, there'll be an undefined behavior
385  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
386  /// In optimized mode, this function returns AK_NotCompatible.
387  /// \remark This function is provided as a tracking tool only. It does nothing if it is
388  /// called in the optimized/release configuration and return AK_NotCompatible.
390  ErrorCode in_eError, ///< Message or error code to be displayed
391  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
392  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
393  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
394  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
395  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
396  );
397 
399  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.
400  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
401  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
402  ... ///< The variable arguments, depending on the ErrorCode posted.
403  );
404 
405  /// Post a monitoring message. This will be displayed in the Wwise capture log.
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, ///< 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.
412  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
413  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
414  ::va_list args ///< The variable arguments, depending on the ErrorCode posted.
415  );
416 
417 #ifdef AK_SUPPORT_WCHAR
418  /// Post a unicode monitoring message or error string. This will be displayed in the Wwise capture
419  /// log.
420  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
421  /// In optimized mode, this function returns AK_NotCompatible.
422  /// \remark This function is provided as a tracking tool only. It does nothing if it is
423  /// called in the optimized/release configuration and return AK_NotCompatible.
425  const wchar_t* in_pszError, ///< Message or error string to be displayed
426  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
427  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
428  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
429  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
430  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
431  );
432 
433 #endif // #ifdef AK_SUPPORT_WCHAR
434 
435  /// Post a monitoring message or error string. This will be displayed in the Wwise capture
436  /// log.
437  /// \return AK_Success if successful, AK_Fail if there was a problem posting the message.
438  /// In optimized mode, this function returns AK_NotCompatible.
439  /// \remark This function is provided as a tracking tool only. It does nothing if it is
440  /// called in the optimized/release configuration and return AK_NotCompatible.
442  const char* in_pszError, ///< Message or error string to be displayed
443  ErrorLevel in_eErrorLevel, ///< Specifies whether it should be displayed as a message or an error
444  AkPlayingID in_playingID = AK_INVALID_PLAYING_ID, ///< Related Playing ID if applicable
445  AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT, ///< Related Game Object ID if applicable, AK_INVALID_GAME_OBJECT otherwise
446  AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID, ///< Related Audio Node ID if applicable, AK_INVALID_UNIQUE_ID otherwise
447  bool in_bIsBus = false ///< true if in_audioNodeID is a bus
448  );
449 
450  /// Enable/Disable local output of monitoring messages or errors. Pass 0 to disable,
451  /// or any combination of ErrorLevel_Message and ErrorLevel_Error to enable.
452  /// \return AK_Success.
453  /// In optimized/release configuration, this function returns AK_NotCompatible.
455  AkUInt32 in_uErrorLevel = ErrorLevel_All, ///< ErrorLevel(s) to enable in output. Default parameters enable all.
456  LocalOutputFunc in_pMonitorFunc = 0 ///< Handler for local output. If NULL, the standard platform debug output method is used.
457  );
458 
459  /// Add a translator to the wwiseErrorHandler
460  /// The additional translators increase the chance of a monitoring messages or errors
461  /// to be succeffully translated.
462  /// \return AK_Success.
463  /// In optimized/release configuration, this function returns AK_NotCompatible.
465  AkErrorMessageTranslator* translator, ///< The AkErrorMessageTranslator to add to the WwiseErrorHandler
466  bool overridePreviousTranslators = false ///< Whether or not the newly added translator should override all the previous translators.
467  ///< In both cases, the default translator will remain
468  );
469 
470  /// Reset the wwiseErrorHandler to only using the default translator
471  /// \return AK_Success.
472  /// In optimized/release configuration, this function returns AK_NotCompatible.
474  );
475 
476  /// Get the time stamp shown in the capture log along with monitoring messages.
477  /// \return Time stamp in milliseconds.
478  /// In optimized/release configuration, this function returns 0.
480 
481  /// Add the streaming manager settings to the profiler capture.
483  const AkStreamMgrSettings& in_streamMgrSettings
484  );
485 
486  /// Add device settings to the list of active streaming devices.
487  /// The list of streaming devices and their settings will be
488  /// sent to the profiler capture when remote connecting from Wwise.
489  ///
490  /// \remark \c AK::Monitor::MonitorStreamMgrTerm must be called to
491  /// clean-up memory used to keep track of active streaming devices.
493  AkDeviceID in_deviceID,
494  const AkDeviceSettings& in_deviceSettings
495  );
496 
497  /// Remove streaming device entry from the list of devices
498  /// to send when remote connecting from Wwise.
500  AkDeviceID in_deviceID
501  );
502 
503  /// Monitor streaming manager destruction as part of the
504  /// profiler capture.
505  ///
506  /// \remark This function must be called to clean-up memory used by
507  /// \c AK::Monitor::MonitorStreamingDeviceInit and \c AK::Monitor::MonitorStreamingDeviceTerm
508  /// to keep track of active streaming devices.
510  }
511 }
512 
513 // Macros.
514 #ifndef AK_OPTIMIZED
515  #define AK_MONITOR_ERROR( in_eErrorCode ) \
516  AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
517 
518  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings ) \
519  AK::Monitor::MonitorStreamMgrInit( in_streamMgrSettings )
520 
521  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings ) \
522  AK::Monitor::MonitorStreamingDeviceInit( in_deviceID, in_deviceSettings )
523 
524  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID ) \
525  AK::Monitor::MonitorStreamingDeviceDestroyed( in_deviceID )
526 
527  #define AK_MONITOR_STREAM_MGR_TERM( ) \
528  AK::Monitor::MonitorStreamMgrTerm()
529 #else
530  #define AK_MONITOR_ERROR( in_eErrorCode )
531  #define AK_MONITOR_STREAM_MGR_INIT( in_streamMgrSettings )
532  #define AK_MONITOR_STREAMING_DEVICE_INIT( in_deviceID, in_deviceSettings )
533  #define AK_MONITOR_STREAMING_DEVICE_DESTROYED( in_deviceID )
534  #define AK_MONITOR_STREAM_MGR_TERM( )
535 #endif
536 
537 #ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
539 #endif // AK_MONITOR_IMPLEMENT_ERRORCODES
540 
541 #endif // _AKMONITORERROR_H
@ ErrorCode_TooManyChildren
@ 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_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.
AkInt32 AkTimeMs
Time in ms
Definition: AkTypes.h:124
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
AKSOUNDENGINE_API AKRESULT AddTranslator(AkErrorMessageTranslator *translator, bool overridePreviousTranslators=false)
@ ErrorCode_HardwareOpusDecoderError
@ ErrorCode_PluginVersionMismatch
@ 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:128
@ 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:199
AkUInt32 AkDeviceID
I/O device ID
Definition: AkTypes.h:146
@ ErrorCode_IncompatibleIOSettings
@ ErrorCode_InsufficientSpaceToLoadBank
@ ErrorCode_AudioNodeNotFound
@ ErrorCode_CannotPlaySource_VirtualOff
@ ErrorCode_ResetPlaylistActionIgnoredContinuous
@ 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_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_DynamicSequenceIdNotFound
@ ErrorCode_TranslatorStandardTagTest
@ ErrorCode_TransitionNotAccurateStarvation
@ ErrorCode_PluginMsgWithShareSet
@ ErrorCode_MusicRendererSeekingFailed
@ ErrorCode_InvalidFloatPriority
AkUInt32 AkUniqueID
Unique 32-bit ID
Definition: AkTypes.h:120
@ ErrorCode_SoundEngineNotInit
@ ErrorCode_SetGeometryTriangleTooLarge
@ ErrorCode_UnknownArgument
@ 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
const MonitorErrorInfo s_aszMonitorErrorInfos[Num_ErrorCodes]
@ ErrorCode_XboxACPMessage
@ 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:163
@ ErrorCode_XMADecodingError
@ ErrorCode_OpusHWFatalError
@ ErrorCode_PluginCannotRunOnObjectConfig
@ ErrorCode_CannotInitializeAmbisonicChannelConfiguration
@ ErrorCode_XboxFrameDropped
@ ErrorCode_XMACreateDecoderLimitReached
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID
Definition: AkTypes.h:165
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_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:162
@ 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_BusNotFoundByName
@ ErrorCode_MonitorQueueFull
@ ErrorCode_PluginFileNotEnoughMemoryToStart
@ ErrorCode_NoDefaultSwitch
AkUInt32 AkPlayingID
Playing ID
Definition: AkTypes.h:123
@ ErrorCode_FileFormatMismatch
@ ErrorCode_PluginNotRegistered
@ ErrorCode_ExternalSourceNoMemorySize
@ ErrorCode_AudioThreadResumed
@ ErrorCode_IncompatibleBankVersion
@ ErrorCode_PluginAllocationFailed
@ ErrorCode_SwitchListEmpty
@ ErrorCode_GameObjectNeverRegistered
@ ErrorCode_SpatialAudio_PortalNotFound
@ 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를 시작해 보세요