28Â
#ifndef _AKMONITORERROR_H
29Â
#define _AKMONITORERROR_H
31Â
#include <AK/SoundEngine/Common/AkSoundEngineExport.h>
32Â
#include <AK/SoundEngine/Common/AkTypes.h>
184Â
const AkOSChar* in_pszError,
186Â AkPlayingID in_playingID,
187Â AkGameObjectID in_gameObjID
201Â AkPlayingID in_playingID = AK_INVALID_PLAYING_ID,
202Â AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT,
203Â AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID,
204Â
bool in_bIsBus =
false
206Â
#ifdef AK_SUPPORT_WCHAR
214Â
const wchar_t* in_pszError,
216Â AkPlayingID in_playingID = AK_INVALID_PLAYING_ID,
217Â AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT,
218Â AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID,
219Â
bool in_bIsBus =
false
221Â
#endif // #ifdef AK_SUPPORT_WCHAR
229Â
const char* in_pszError,
231Â AkPlayingID in_playingID = AK_INVALID_PLAYING_ID,
232Â AkGameObjectID in_gameObjID = AK_INVALID_GAME_OBJECT,
233Â AkUniqueID in_audioNodeID = AK_INVALID_UNIQUE_ID,
234Â
bool in_bIsBus =
false
254Â
#ifndef AK_OPTIMIZED
255Â
#define AK_MONITOR_ERROR( in_eErrorCode )\
256Â
AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
258Â
#define AK_MONITOR_ERROR( in_eErrorCode )
261Â
#ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
269Â AKTEXT(
"File not found"),
270Â AKTEXT(
"Cannot open file"),
271Â AKTEXT(
"Not enough memory in I/O pool to start stream"),
272Â AKTEXT(
"Unknown I/O device error"),
273Â AKTEXT(
"I/O settings incompatible."),
275Â AKTEXT(
"Plug-in unsupported channel configuration"),
276Â AKTEXT(
"Plug-in media unavailable"),
277Â AKTEXT(
"Plug-in initialization failure"),
278Â AKTEXT(
"Plug-in execution failure"),
279Â AKTEXT(
"Invalid plug-in execution mode"),
280Â AKTEXT(
"Could not allocate effect"),
282Â AKTEXT(
"Seek table required to seek in Vorbis sources. Please update conversion settings."),
284Â AKTEXT(
"Vorbis decoder failure"),
285Â AKTEXT(
"AAC decoder failure"),
287Â AKTEXT(
"Failed creating xWMA decoder"),
289Â AKTEXT(
"Failed creating ATRAC9 decoder"),
290Â AKTEXT(
"Failed creating ATRAC9 decoder: no more ATRAC9 decoding channels available"),
291Â AKTEXT(
"ATRAC9 decoding failed"),
292Â AKTEXT(
"ATRAC9 context clear failed"),
293Â AKTEXT(
"ATRAC9 loop section is too small"),
295Â AKTEXT(
"Invalid file header"),
296Â AKTEXT(
"File header too large (due to markers or envelope)"),
297Â AKTEXT(
"File or loop region is too small to be played properly"),
299Â AKTEXT(
"Transition not sample-accurate due to mixed channel configurations"),
300Â AKTEXT(
"Transition not sample-accurate due to source starvation"),
301Â AKTEXT(
"Nothing to play in Dynamic Sequence"),
302Â AKTEXT(
"Play Failed"),
305Â AKTEXT(
"Stinger could not be scheduled in this segment or was dropped"),
306Â AKTEXT(
"Segment look-ahead plus pre-entry duration is longer than previous segment in sequence"),
307Â AKTEXT(
"Cannot schedule music switch transition in upcoming segments: using Exit Cue"),
308Â AKTEXT(
"Cannot schedule music segments: Stopping music"),
309Â AKTEXT(
"Music system is stopped because a music playlist is modified"),
310Â AKTEXT(
"Rescheduling music clips because a track was modified"),
312Â AKTEXT(
"Failed creating source"),
313Â AKTEXT(
"Virtual source failed becoming physical"),
314Â AKTEXT(
"Error while computing virtual source elapsed time"),
315Â AKTEXT(
"Inconsistent source status"),
316Â AKTEXT(
"Media was not loaded for this source"),
317Â AKTEXT(
"Voice Starvation"),
318Â AKTEXT(
"Source starvation"),
319Â AKTEXT(
"XMA decoder starvation"),
320Â AKTEXT(
"XMA decoding error"),
321Â AKTEXT(
"Invalid XMA data - Make sure data is allocated from APU memory and is aligned to 2K."),
323Â AKTEXT(
"Plug-in not found"),
324Â AKTEXT(
"Codec plug-in not registered"),
325Â AKTEXT(
"Plug-in version doesn't match sound engine version. Please ensure the plug-in is compatible with this version of Wwise"),
327Â AKTEXT(
"Event ID not found"),
329Â AKTEXT(
"Invalid State Group ID"),
330Â AKTEXT(
"Selected Child Not Available"),
331Â AKTEXT(
"Selected Node Not Available"),
332Â AKTEXT(
"Selected Media Not Available"),
333Â AKTEXT(
"No Valid Switch"),
335Â AKTEXT(
"Selected node not available. Make sure the structure associated to the event is loaded or that the event has been prepared"),
337Â AKTEXT(
"Motion voice starvation"),
339Â AKTEXT(
"Bank Load Failed"),
340Â AKTEXT(
"Bank Unload Failed"),
341Â AKTEXT(
"Error while loading bank"),
342Â AKTEXT(
"Insufficient Space to Load Bank"),
344Â AKTEXT(
"Lower engine command list is full"),
346Â AKTEXT(
"No marker in file; seeking to specified location"),
347Â AKTEXT(
"Cannot seek in sound that is within a continuous container with special transitions"),
348Â AKTEXT(
"Seeking after end of file. Playback will stop"),
350Â AKTEXT(
"Unknown game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered."),
352Â 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."),
353Â 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."),
354Â AKTEXT(
"The requested game object is not a listener."),
355Â AKTEXT(
"The requested game object is not an emitter."),
357Â 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."),
358Â 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."),
360Â AKTEXT(
"External source missing from PostEvent call"),
361Â AKTEXT(
"Source file is of different format than expected"),
362Â AKTEXT(
"Audio command queue is full, blocking caller. Reduce number of calls to sound engine or boost command queue memory."),
363Â AKTEXT(
"Audio command is too large to fit in the command queue. Break the command in smaller pieces."),
365Â AKTEXT(
"Failed creating XMA decoder: no more XMA voices available"),
366Â AKTEXT(
"Failed seeking in XMA source: stream buffer is smaller than XMA block size"),
368Â 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."),
369Â AKTEXT(
"Triggered a game-object-scoped modulator in a global context (such as a bus or bus effect). Modulator will have global scope."),
371Â AKTEXT(
"Ignoring seek after end of playlist"),
373Â AKTEXT(
"Seek table required to seek in Opus sources. Please update conversion settings."),
374Â AKTEXT(
"Opus decoder failure"),
375Â AKTEXT(
"Failed creating Opus decoder"),
377Â AKTEXT(
"Source plugin not found in currently loaded banks."),
379Â 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.") ,
381Â AKTEXT(
"AK::SoundEngine::AddOutput()/ReplaceOutput() - Device ShareSet not found in Init bank."),
383Â AKTEXT(
"Not enough memory to start sound."),
384Â AKTEXT(
"Error while decoding Opus header."),
386Â AKTEXT(
"The Output Device specified by AddOutput() or Init() could not be initialized."),
387Â AKTEXT(
"ReplaceOutput could not properly remove old output device."),
388Â AKTEXT(
"Device ID to remove not found as an active device."),
389Â AKTEXT(
"Device ID not recognized by platform or is disabled."),
391Â AKTEXT(
"Audio Device Overproduction."),
393Â AKTEXT(
"Duplicated media has different length in two separate banks. Stopping sound."),
398Â
#endif // AK_MONITOR_IMPLEMENT_ERRORCODES
400Â
#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.
@ ErrorCode_TooLongSegmentLookAhead
@ ErrorCode_StreamingSourceStarving
@ ErrorCode_PluginUnsupportedChannelConfiguration
@ ErrorCode_TooManySimultaneousMusicSegments
@ ErrorCode_VorbisRequireSeekTable
@ ErrorCode_CannotStartStreamNoMemory
@ ErrorCode_BankLoadFailed
@ ErrorCode_CannotSeekContinuous
@ ErrorCode_AACDecodeError
@ ErrorCode_AudioDeviceOverproduction
@ ErrorCode_ATRAC9LoopSectionTooSmall
@ ErrorCode_PluginVersionMismatch
@ ErrorCode_AudioFileHeaderTooLarge
AKSOUNDENGINE_API AKRESULT SetLocalOutput(AkUInt32 in_uErrorLevel=ErrorLevel_All, LocalOutputFunc in_pMonitorFunc=0)
@ ErrorCode_EventIDNotFound
@ ErrorCode_PluginInitialisationFailed
@ ErrorCode_PlaylistStoppedForEditing
@ ErrorCode_SelectedChildNotAvailable
@ ErrorCode_ModulatorScopeError_Inst
@ ErrorCode_TransitionNotAccurateChannel
@ 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_ATRAC9CreateDecoderFailedChShortage
@ ErrorCode_CannotOpenFile
@ ErrorCode_TransitionNotAccurateStarvation
@ ErrorCode_xWMACreateDecoderFailed
@ ErrorCode_MediaNotLoaded
@ ErrorCode_ATRAC9CreateDecoderFailed
@ ErrorCode_UnknownListener
@ ErrorCode_CommandQueueFull
@ ErrorCode_UnkownOpusError
@ ErrorCode_XMADecoderSourceStarving
@ ErrorCode_NotEnoughMemoryToStart
@ ErrorCode_ErrorWhileLoadingBank
AKSOUNDENGINE_API AkTimeMs GetTimeStamp()
@ ErrorCode_AudioDeviceNotFound
@ ErrorCode_PluginMediaUnavailable
@ ErrorCode_GameObjectIsNotListener
@ ErrorCode_OpusDecodeError
@ ErrorCode_OpusRequireSeekTable
@ ErrorCode_AudioDeviceNotValid
@ ErrorCode_CannotPlaySource_InconsistentState
@ ErrorCode_SelectedNodeNotAvailable
@ ErrorCode_SelectedNodeNotAvailablePlay
@ ErrorCode_XMADecodingError
@ ErrorCode_XMACreateDecoderLimitReached
@ ErrorCode_GameObjectIsNotEmitter
@ ErrorCode_InvalidGroupID
@ ErrorCode_InvalidAudioFileHeader
@ ErrorCode_CommandTooLarge
@ ErrorCode_LowerEngineCommandListFull
@ ErrorCode_CannotPlaySource_TimeSkip
@ ErrorCode_SelectedMediaNotAvailable
@ ErrorCode_VirtualVoiceLimit
@ ErrorCode_PluginExecutionInvalid
@ ErrorCode_AudioDeviceInitFailure
@ ErrorCode_InvalidXMAData
@ ErrorCode_CodecNotRegistered
@ ErrorCode_UnknownGameObject
@ 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_ATRAC9ClearContextFailed
@ ErrorCode_MusicClipsRescheduledAfterTrackEdit
@ ErrorCode_ATRAC9DecodeFailed
@ ErrorCode_VorbisDecodeError
@ ErrorCode_NoValidSwitch
@ 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)
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