浏览该文件的文档.
28 #ifndef _AKMONITORERROR_H
29 #define _AKMONITORERROR_H
188 "Please document your new ErrorCode "
189 "in 'Documentation/Help/source_en/reference/common_errors_capture_log.xml', "
190 "then you can increment this value."
216 bool in_bIsBus =
false
218 #ifdef AK_SUPPORT_WCHAR
226 const wchar_t* in_pszError,
231 bool in_bIsBus =
false
233 #endif // #ifdef AK_SUPPORT_WCHAR
241 const char* in_pszError,
246 bool in_bIsBus =
false
267 #define AK_MONITOR_ERROR( in_eErrorCode )\
268 AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
270 #define AK_MONITOR_ERROR( in_eErrorCode )
273 #ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
282 AKTEXT(
"Cannot open file"),
283 AKTEXT(
"Not enough memory in I/O pool to start stream"),
284 AKTEXT(
"Unknown I/O device error"),
285 AKTEXT(
"I/O settings incompatible."),
287 AKTEXT(
"Plug-in unsupported channel configuration"),
288 AKTEXT(
"Plug-in media unavailable"),
289 AKTEXT(
"Plug-in initialization failure"),
290 AKTEXT(
"Plug-in execution failure"),
291 AKTEXT(
"Invalid plug-in execution mode"),
292 AKTEXT(
"Could not allocate effect"),
294 AKTEXT(
"Seek table recommended to seek in Vorbis sources. Please update conversion settings."),
296 AKTEXT(
"Vorbis decoder failure"),
297 AKTEXT(
"AAC decoder failure"),
299 AKTEXT(
"Failed creating xWMA decoder"),
301 AKTEXT(
"ATRAC9 decoding failed"),
302 AKTEXT(
"ATRAC9 loop section is too small"),
304 AKTEXT(
"Invalid file header"),
305 AKTEXT(
"File header too large (due to markers or envelope)"),
306 AKTEXT(
"File or loop region is too small to be played properly"),
308 AKTEXT(
"Transition not sample-accurate due to mixed channel configurations"),
309 AKTEXT(
"Transition not sample-accurate due to incompatible audio formats"),
310 AKTEXT(
"Transition not sample-accurate due to incompatible encoding parameters"),
311 AKTEXT(
"Transition not sample-accurate due to source starvation"),
312 AKTEXT(
"Nothing to play in Dynamic Sequence"),
316 AKTEXT(
"Stinger could not be scheduled in this segment or was dropped"),
317 AKTEXT(
"Segment look-ahead plus pre-entry duration is longer than previous segment in sequence"),
318 AKTEXT(
"Cannot schedule music switch transition in upcoming segments: using Exit Cue"),
319 AKTEXT(
"Cannot schedule music segments: Stopping music"),
320 AKTEXT(
"Music system is stopped because a music playlist is modified"),
321 AKTEXT(
"Rescheduling music clips because a track was modified"),
323 AKTEXT(
"Failed creating source"),
324 AKTEXT(
"Virtual source failed becoming physical"),
325 AKTEXT(
"Error while computing virtual source elapsed time"),
326 AKTEXT(
"Inconsistent source status"),
327 AKTEXT(
"Media was not loaded for this source"),
328 AKTEXT(
"Voice Starvation"),
329 AKTEXT(
"Source starvation"),
330 AKTEXT(
"XMA decoder starvation"),
331 AKTEXT(
"XMA decoding error"),
332 AKTEXT(
"Invalid XMA data - Make sure data is allocated from APU memory and is aligned to 2K."),
334 AKTEXT(
"Plug-in not found"),
335 AKTEXT(
"Codec plug-in not registered"),
336 AKTEXT(
"Plug-in version doesn't match sound engine version. Please ensure the plug-in is compatible with this version of Wwise"),
338 AKTEXT(
"Event ID not found"),
340 AKTEXT(
"Invalid State Group ID"),
341 AKTEXT(
"Selected Child Not Available"),
342 AKTEXT(
"Selected Node Not Available"),
343 AKTEXT(
"Selected Media Not Available"),
344 AKTEXT(
"No Valid Switch"),
346 AKTEXT(
"Selected node not available. Make sure the structure associated to the event is loaded or that the event has been prepared"),
348 AKTEXT(
"Motion voice starvation"),
350 AKTEXT(
"Bank Load Failed"),
351 AKTEXT(
"Bank Unload Failed"),
352 AKTEXT(
"Error while loading bank"),
353 AKTEXT(
"Insufficient Space to Load Bank"),
355 AKTEXT(
"Lower engine command list is full"),
357 AKTEXT(
"No marker in file; seeking to specified location"),
358 AKTEXT(
"Cannot seek in sound that is within a continuous container with special transitions"),
359 AKTEXT(
"Seeking after end of file. Playback will stop"),
361 AKTEXT(
"Unknown game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered."),
363 AKTEXT(
"Unknown emitter game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered."),
364 AKTEXT(
"Unknown listener game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered."),
365 AKTEXT(
"The requested game object is not a listener."),
366 AKTEXT(
"The requested game object is not an emitter."),
368 AKTEXT(
"Unknown emitter game object ID on event. Make sure the game object is registered before using it and do not use it once it was unregistered."),
369 AKTEXT(
"The requested game object for an event was not registered as an emitter. Make sure the game object is registered as an emitter before using it to post an event."),
371 AKTEXT(
"External source missing from PostEvent call"),
372 AKTEXT(
"Source file is of different format than expected"),
373 AKTEXT(
"Audio command queue is full, blocking caller. Reduce number of calls to sound engine or boost command queue memory."),
374 AKTEXT(
"Audio command is too large to fit in the command queue. Break the command in smaller pieces."),
376 AKTEXT(
"Failed creating XMA decoder: no more XMA voices available"),
377 AKTEXT(
"Failed seeking in XMA source: stream buffer is smaller than XMA block size"),
379 AKTEXT(
"Triggered a note-scoped or playing-instance-scoped modulator in a global context (such as a bus or bus effect). Modulator will have global scope."),
380 AKTEXT(
"Triggered a game-object-scoped modulator in a global context (such as a bus or bus effect). Modulator will have global scope."),
382 AKTEXT(
"Ignoring seek after end of playlist"),
384 AKTEXT(
"Seek table required to seek in Opus sources. Please update conversion settings."),
385 AKTEXT(
"Opus decoder failure"),
386 AKTEXT(
"Failed creating Opus decoder"),
388 AKTEXT(
"Source plugin not found in currently loaded banks."),
390 AKTEXT(
"Number of Resume and/or Play-From-Beginning virtual voices has reached warning limit (see Project Settings > Log tab). There may be some infinite, leaked voices.") ,
392 AKTEXT(
"AK::SoundEngine::AddOutput()/ReplaceOutput() - Device ShareSet not found in Init bank."),
394 AKTEXT(
"Not enough memory to start sound."),
395 AKTEXT(
"Error while decoding Opus header."),
397 AKTEXT(
"The Output Device specified by AddOutput() or Init() could not be initialized."),
398 AKTEXT(
"ReplaceOutput could not properly remove old output device."),
399 AKTEXT(
"Device ID to remove not found as an active device."),
400 AKTEXT(
"Device ID not recognized by platform or is disabled."),
401 AKTEXT(
"Early reflections are not supported on sounds using 3D Position: Listener with Automation. The assigned early reflections bus will be ignored."),
402 AKTEXT(
"Duplicated media has different length in two separate banks. Stopping sound."),
404 AKTEXT(
"The hardware-accelerated voice subsystem failed to initialize."),
405 AKTEXT(
"Hardware accelerated audio decoding failed."),
406 AKTEXT(
"Maximum number of hardware-accelerated voices reached. Voice will not play."),
407 AKTEXT(
"Failed creating hardware-accelerated voice."),
408 AKTEXT(
"The playing sound is assigned the same early reflection bus in the Authoring Tool that has been set via AK::SpatialAudio::SetImageSource. Use a unique bus to avoid image source conflicts."),
415 #endif // AK_MONITOR_IMPLEMENT_ERRORCODES
417 #endif // _AKMONITORERROR_H
@ ErrorCode_CannotScheduleMusicSwitch
@ ErrorCode_FeedbackVoiceStarving
@ ErrorCode_OpusCreateDecoderFailed
@ ErrorCode_PluginProcessingFailed
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
@ ErrorCode_TooLongSegmentLookAhead
@ ErrorCode_StreamingSourceStarving
@ ErrorCode_PluginUnsupportedChannelConfiguration
@ ErrorCode_TooManySimultaneousMusicSegments
@ ErrorCode_CannotStartStreamNoMemory
@ ErrorCode_BankLoadFailed
@ ErrorCode_SpatialAudio_ListenerAutomationNotSupported
@ ErrorCode_CannotSeekContinuous
@ ErrorCode_AACDecodeError
@ ErrorCode_ATRAC9LoopSectionTooSmall
@ ErrorCode_PluginVersionMismatch
@ ErrorCode_AudioFileHeaderTooLarge
AKSOUNDENGINE_API AKRESULT SetLocalOutput(AkUInt32 in_uErrorLevel=ErrorLevel_All, LocalOutputFunc in_pMonitorFunc=0)
@ ErrorCode_EventIDNotFound
@ ErrorCode_PluginInitialisationFailed
AkUInt64 AkGameObjectID
Game object ID
@ ErrorCode_HwVoiceLimitReached
@ ErrorCode_PlaylistStoppedForEditing
@ ErrorCode_SelectedChildNotAvailable
@ ErrorCode_ModulatorScopeError_Inst
#define AK_EXTERNAPIFUNC(_type, _name)
@ ErrorCode_TransitionNotAccurateChannel
AKRESULT
Standard function call result.
@ ErrorCode_IncompatibleIOSettings
@ ErrorCode_InsufficientSpaceToLoadBank
@ ErrorCode_CannotPlaySource_VirtualOff
@ ErrorCode_MediaDuplicationLength
@ ErrorCode_CannotPlaySource_Create
@ ErrorCode_BankUnloadFailed
@ ErrorCode_NothingToPlay
@ ErrorCode_StingerCouldNotBeScheduled
const AkOSChar * s_aszErrorCodes[Num_ErrorCodes]
@ ErrorCode_XMAStreamBufferTooSmall
@ ErrorCode_ModulatorScopeError_Obj
@ ErrorCode_UnknownGameObjectEvent
@ ErrorCode_AudioDeviceRemoveFailure
@ ErrorCode_UnknownEmitter
@ ErrorCode_AudioDeviceShareSetNotFound
@ ErrorCode_GameObjectIsNotEmitterEvent
@ ErrorCode_ExternalSourceNotResolved
@ ErrorCode_CannotOpenFile
@ ErrorCode_TransitionNotAccuratePluginMismatch
@ ErrorCode_TransitionNotAccurateStarvation
AkUInt32 AkUniqueID
Unique 32-bit ID
@ ErrorCode_xWMACreateDecoderFailed
@ ErrorCode_TransitionNotAccurateRejectedByPlugin
@ ErrorCode_MediaNotLoaded
@ ErrorCode_VorbisSeekTableRecommended
@ ErrorCode_UnknownListener
@ ErrorCode_CommandQueueFull
@ ErrorCode_HwVoicesSystemInitFailed
@ ErrorCode_UnkownOpusError
@ ErrorCode_XMADecoderSourceStarving
@ ErrorCode_NotEnoughMemoryToStart
@ ErrorCode_ErrorWhileLoadingBank
AKSOUNDENGINE_API AkTimeMs GetTimeStamp()
@ ErrorCode_AudioDeviceNotFound
@ ErrorCode_PluginMediaUnavailable
@ ErrorCode_GameObjectIsNotListener
@ ErrorCode_OpusDecodeError
@ ErrorCode_OpusRequireSeekTable
@ ErrorCode_AudioDeviceNotValid
#define AK_CALLBACK(_type, _name)
@ ErrorCode_SpatialAudio_ReflectionBusError
@ ErrorCode_CannotPlaySource_InconsistentState
@ ErrorCode_SelectedNodeNotAvailable
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID
@ ErrorCode_SelectedNodeNotAvailablePlay
@ ErrorCode_XMADecodingError
@ ErrorCode_XMACreateDecoderLimitReached
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID
@ ErrorCode_GameObjectIsNotEmitter
@ ErrorCode_HwVoiceInitFailed
@ ErrorCode_InvalidGroupID
@ ErrorCode_InvalidAudioFileHeader
@ ErrorCode_CommandTooLarge
@ ErrorCode_LowerEngineCommandListFull
@ ErrorCode_CannotPlaySource_TimeSkip
@ ErrorCode_SelectedMediaNotAvailable
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
@ ErrorCode_VirtualVoiceLimit
@ ErrorCode_PluginExecutionInvalid
@ ErrorCode_AudioDeviceInitFailure
@ ErrorCode_InvalidXMAData
@ ErrorCode_CodecNotRegistered
@ ErrorCode_UnknownGameObject
@ ErrorCode_HwVoicesDecodeBatchFailed
@ 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_VoiceStarving
@ ErrorCode_MusicClipsRescheduledAfterTrackEdit
@ ErrorCode_ATRAC9DecodeFailed
@ ErrorCode_VorbisDecodeError
@ ErrorCode_NoValidSwitch
AkUInt32 AkPlayingID
Playing ID
@ ErrorCode_FileFormatMismatch
@ ErrorCode_PluginNotRegistered
@ ErrorCode_PluginAllocationFailed
@ ErrorCode_SeekAfterEndOfPlaylist
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 之旅