28Â
#ifndef _AKMONITORERROR_H
29Â
#define _AKMONITORERROR_H
197Â
bool in_bIsBus =
false
199Â
#ifdef AK_SUPPORT_WCHAR
207Â
const wchar_t* in_pszError,
212Â
bool in_bIsBus =
false
214Â
#endif // #ifdef AK_SUPPORT_WCHAR
222Â
const char* in_pszError,
227Â
bool in_bIsBus =
false
247Â
#ifndef AK_OPTIMIZED
248Â
#define AK_MONITOR_ERROR( in_eErrorCode )\
249Â
AK::Monitor::PostCode( in_eErrorCode, AK::Monitor::ErrorLevel_Error )
251Â
#define AK_MONITOR_ERROR( in_eErrorCode )
254Â
#ifdef AK_MONITOR_IMPLEMENT_ERRORCODES
262Â
AKTEXT(
"File not found"),
263Â
AKTEXT(
"Cannot open file"),
264Â
AKTEXT(
"Not enough memory in I/O pool to start stream"),
265Â
AKTEXT(
"Unknown I/O device error"),
266Â
AKTEXT(
"I/O settings incompatible."),
268Â
AKTEXT(
"Plug-in unsupported channel configuration"),
269Â
AKTEXT(
"Plug-in media unavailable"),
270Â
AKTEXT(
"Plug-in initialization failure"),
271Â
AKTEXT(
"Plug-in execution failure"),
272Â
AKTEXT(
"Invalid plug-in execution mode"),
273Â
AKTEXT(
"Could not allocate effect"),
275Â
AKTEXT(
"Seek table required to seek in Vorbis sources. Please update conversion settings."),
277Â
AKTEXT(
"Vorbis decoder failure"),
278Â
AKTEXT(
"AAC decoder failure"),
280Â
AKTEXT(
"Failed creating xWMA decoder"),
282Â
AKTEXT(
"Failed creating ATRAC9 decoder"),
283Â
AKTEXT(
"Failed creating ATRAC9 decoder: no more ATRAC9 decoding channels available"),
284Â
AKTEXT(
"ATRAC9 decoding failed"),
285Â
AKTEXT(
"ATRAC9 context clear failed"),
286Â
AKTEXT(
"ATRAC9 loop section is too small"),
288Â
AKTEXT(
"Invalid file header"),
289Â
AKTEXT(
"File header too large (due to markers or envelope)"),
290Â
AKTEXT(
"File or loop region is too small to be played properly"),
292Â
AKTEXT(
"Transition not sample-accurate due to mixed channel configurations"),
293Â
AKTEXT(
"Transition not sample-accurate due to source starvation"),
294Â
AKTEXT(
"Nothing to play in Dynamic Sequence"),
298Â
AKTEXT(
"Stinger could not be scheduled in this segment or was dropped"),
299Â
AKTEXT(
"Segment look-ahead plus pre-entry duration is longer than previous segment in sequence"),
300Â
AKTEXT(
"Cannot schedule music switch transition in upcoming segments: using Exit Cue"),
301Â
AKTEXT(
"Cannot schedule music segments: Stopping music"),
302Â
AKTEXT(
"Music system is stopped because a music playlist is modified"),
303Â
AKTEXT(
"Rescheduling music clips because a track was modified"),
305Â
AKTEXT(
"Failed creating source"),
306Â
AKTEXT(
"Virtual source failed becoming physical"),
307Â
AKTEXT(
"Error while computing virtual source elapsed time"),
308Â
AKTEXT(
"Inconsistent source status"),
309Â
AKTEXT(
"Media was not loaded for this source"),
310Â
AKTEXT(
"Voice Starvation"),
311Â
AKTEXT(
"Source starvation"),
312Â
AKTEXT(
"XMA decoder starvation"),
313Â
AKTEXT(
"XMA decoding error"),
314Â
AKTEXT(
"Invalid XMA data - Make sure data is allocated from APU memory and is aligned to 2K."),
316Â
AKTEXT(
"Plug-in not found"),
317Â
AKTEXT(
"Codec plug-in not registered"),
318Â
AKTEXT(
"Plug-in version doesn't match sound engine version. Please ensure the plug-in is compatible with this version of Wwise"),
320Â
AKTEXT(
"Event ID not found"),
322Â
AKTEXT(
"Invalid State Group ID"),
323Â
AKTEXT(
"Selected Child Not Available"),
324Â
AKTEXT(
"Selected Node Not Available"),
325Â
AKTEXT(
"Selected Media Not Available"),
326Â
AKTEXT(
"No Valid Switch"),
328Â
AKTEXT(
"Selected node not available. Make sure the structure associated to the event is loaded or that the event has been prepared"),
330Â
AKTEXT(
"Motion voice starvation"),
332Â
AKTEXT(
"Bank Load Failed"),
333Â
AKTEXT(
"Bank Unload Failed"),
334Â
AKTEXT(
"Error while loading bank"),
335Â
AKTEXT(
"Insufficient Space to Load Bank"),
337Â
AKTEXT(
"Lower engine command list is full"),
339Â
AKTEXT(
"No marker in file; seeking to specified location"),
340Â
AKTEXT(
"Cannot seek in sound that is within a continuous container with special transitions"),
341Â
AKTEXT(
"Seeking after end of file. Playback will stop"),
343Â
AKTEXT(
"Unknown game object ID. Make sure the game object is registered before using it and do not use it once it was unregistered."),
345Â
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."),
346Â
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."),
347Â
AKTEXT(
"The requested game object is not a listener."),
348Â
AKTEXT(
"The requested game object is not an emitter."),
350Â
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."),
351Â
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."),
353Â
AKTEXT(
"External source missing from PostEvent call"),
354Â
AKTEXT(
"Source file is of different format than expected"),
355Â
AKTEXT(
"Audio command queue is full, blocking caller. Reduce number of calls to sound engine or boost command queue memory."),
356Â
AKTEXT(
"Audio command is too large to fit in the command queue. Break the command in smaller pieces."),
358Â
AKTEXT(
"Failed creating XMA decoder: no more XMA voices available"),
359Â
AKTEXT(
"Failed seeking in XMA source: stream buffer is smaller than XMA block size"),
361Â
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."),
362Â
AKTEXT(
"Triggered a game-object-scoped modulator in a global context (such as a bus or bus effect). Modulator will have global scope."),
364Â
AKTEXT(
"Ignoring seek after end of playlist"),
366Â
AKTEXT(
"Seek table required to seek in Opus sources. Please update conversion settings."),
367Â
AKTEXT(
"Opus decoder failure"),
368Â
AKTEXT(
"Failed creating Opus decoder"),
370Â
AKTEXT(
"Source plugin not found in currently loaded banks."),
372Â
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.") ,
374Â
AKTEXT(
"AK::SoundEngine::AddOutput() - Device ShareSet not found in Init bank."),
376Â
AKTEXT(
"Not enough memory to start sound."),
377Â
AKTEXT(
"Error while decoding Opus header."),
378Â
AKTEXT(
"The Output Device specified by AddOutput() or Init() could not be initialized."),
380Â
AKTEXT(
"Duplicated media has different length in two separate banks. Stopping sound."),
385Â
#endif // AK_MONITOR_IMPLEMENT_ERRORCODES
387Â
#endif // _AKMONITORERROR_H
#define AK_CALLBACK(__TYPE__, __NAME__)
AkTimeMs __cdecl GetTimeStamp()
AKRESULT
Standard function call result.
#define AK_EXTERNAPIFUNC(__TYPE__, __NAME__)
const AkOSChar * s_aszErrorCodes[Num_ErrorCodes]
AkUInt32 AkUniqueID
Unique 32-bit ID.
AkUInt64 AkGameObjectID
Game object ID.
AKRESULT __cdecl SetLocalOutput(AkUInt32 in_uErrorLevel=ErrorLevel_All, LocalOutputFunc in_pMonitorFunc=0)
AKRESULT __cdecl 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)
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.
static const AkPlayingID AK_INVALID_PLAYING_ID
Invalid playing ID.
AkUInt32 AkPlayingID
Playing ID.
AKRESULT __cdecl 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)
static const AkGameObjectID AK_INVALID_GAME_OBJECT
Invalid game object (may also mean all game objects)
static const AkUniqueID AK_INVALID_UNIQUE_ID
Invalid unique 32-bit ID.
AkInt32 AkTimeMs
Time in ms.