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
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
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.