AAX SDK 2.6.1
Avid Audio Extensions Development Kit
Loading...
Searching...
No Matches
AAX_Errors.h
Go to the documentation of this file.
1/*================================================================================================*/
2/*
3 *
4 * Copyright 2010-2017, 2019-2021, 2023 Avid Technology, Inc.
5 * All rights reserved.
6 *
7 * CONFIDENTIAL: this document contains confidential information of Avid. Do
8 * not disclose to any third party. Use of the information contained in this
9 * document is subject to an Avid SDK license.
10 *
11 */
12
19/*================================================================================================*/
20
21
23#ifndef AAX_ERRORS_H
24#define AAX_ERRORS_H
26
27#include "AAX_Enums.h"
28
35{
37
66 AAX_ERROR_PLUGIN_NOT_AUTHORIZED = -20029, //return this from EffectInit() if the plug-in doesn't have proper license.
89
90
92 AAX_ERROR_PLUGIN_END = -21000
94
95
96
97
98
99
100
101
102
105// AAE and other known AAX host error codes //
106// Listed here as a reference //
109
110// FicErrors.h
111/*
112
113//
114// NOTE: (Undefined) comments for an error code mean that it's
115// either no longer supported or returned from another source
116// other than DAE.
117//
118
119//----------------------------------------------------------------------------
120// Error codes for all of Fic
121//----------------------------------------------------------------------------
122
123enum {
124 kFicHostTimeoutErr = -9003, // Host Timeout Error. DSP is not responding.
125 kFicHostBusyErr = -9004, // (Undefined)
126 kFicLowMemoryErr = -9006, // DAE was unable to allocate memory. Memory is low.
127 kFicUnimplementedErr = -9007, // An unimplemented method was called.
128 kFicAllocatedErr = -9008, // (Undefined)
129 kFicNILObjectErr = -9013, // Standard error return when an object is NULL.
130 kFicNoDriverDSPErr = -9014, // Missing DSPPtr from the SADriver.
131 kFicBadIndexErr = -9015, // Index to an array or list is invalid.
132 kFicAlreadyDeferredErr = -9017, // Tried to install a deferred task when the task was already deferred.
133 kFicFileSystemBusyErr = -9019, // PB chain for an audio file returned an error for a disk task.
134 kFicRunningErr = -9020, // Tried to execute code when the deck was started.
135 kFicTooManyItemsErr = -9022, // Number of needed items goes beyond a lists max size.
136 kFicItemNotFoundErr = -9023, // Unable to find an object in a list of objects.
137 kFicWrongTypeErr = -9024, // Type value not found or not supported.
138 kFicNoDeckErr = -9025, // Standard error returned from other objects that require a deck object.
139 kFicNoDSPErr = -9028, // Required DSP object is NULL.
140 kFicNoFeederErr = -9029, // (Undefined)
141 kFicNoOwnerErr = -9030, // Play or record track not owned by a channel.
142 kFicPrimedErr = -9031, // Tried to execute code when the deck was primed.
143 kFicAlreadyAttached = -9032, // DAE object already attached to another DAE object.
144 kFicTooManyDSPTracksErr = -9033, // The user has run out of virtual tracks for a given card or dsp.
145 kFicParseErr = -9035, // While trying to parse a data structure ran into an error.
146 kFicNotAcquiredErr = -9041, // Tried to execute code when an object needs to be acquired first.
147 kFicNoSSIClockErr = -9045, // DSP does not recieve peripheral clock interrupts.
148 kFicNotFound = -9048, // Missing DAE resource or timeout occured while waiting for DAE to launch.
149 kFicCantRecordErr = -9050, // Error returned when CanRecord() returns false. Exp: Recording on scrub channel.
150 kFicWrongObjectErr = -9054, // Object size or pointers do not match.
151 kFicLowVersionErr = -9055, // Errors with version number too low.
152 kFicNotStartedErr = -9057, // Tried to execute code when the deck was not started yet.
153 kFicOnly1PunchInErr = -9059, // Error when deck can only support a single punch in.
154 kFicAssertErr = -9060, // Generic error when a format does not match.
155 kFicScrubOnlyErr = -9061, // Tried to scrub in a non-scrub mode or on a sys axe channel.
156 kFicNoSADriverErr = -9062, // InitSADriver failed. Possible missing DigiSystem INIT.
157 kFicCantFindDAEFolder = -9064, // Unable to find "DAE Folder" in the system folder.
158 kFicCantFindDAEApp = -9065, // Unable to find DAE app in the DAE Folder.
159 kFicNeeds32BitModeErr = -9066, // DAE runs only in 32 bit mode.
160 kFicHatesVirtualMemErr = -9068, // DAE will not run if virtual memory is turned on.
161 kFicSCIConnectErr = -9070, // Unable to get SCI ports between two dsp's to communicate.
162 kFicSADriverVersionErr = -9071, // Unable to get DigiSystem INIT version or it's version is too low.
163 kFicUserCancelledErr = -9072, // User chose to cancel or quit operation from DAE dialog.
164 kFicDiskTooSlowErr = -9073, // Disk action did not complete in time for next command.
165 kFicAudioTrackTooDense1 = -9074, // Audio playlist is too dense.
166 kFicAudioTrackTooDense2 = -9075, // Audio playlist is too dense for silience play list.
167 kFicCantDescribeZone = -9076, // Zone description is NULL.
168 kFicCantApplyPlayLimits = -9077, // Ran out of time regions for a zone.
169 kFicCantApplySkipMode = -9078, // Ran out of time regions for a zone in skip mode.
170 kFicCantApplyLoop = -9079, // Ran out of time regions for a zone in loop mode.
171 kFicAutoSortErr = -9084, // DSP event elements are not sorted in relation to time.
172 kFicNoAutoEvent = -9085, // No event list for an auto parser.
173 kFicAutoTrackTooDense1 = -9086, // Automation event scripts are too dense.
174 kFicAutoTrackTooDense2 = -9087, // Ran out of free events for the automation parser.
175 kFicNothingAllowedErr = -9088, // Missing allowed decks for the hw setup dialog.
176 kFicHardwareNotFreeErr = -9089, // Unable to select a deck because the hardware is allocated or not available.
177 kFicUnderrunErr9093 = -9093, // Under run error from the DSP.
178 kFicBadVRefNumErr = -9095, // Audio file is not on the propper disk SCSI chain.
179 kFicNoPeripheralSelected = -9096, // Deck can not be aquired without a peripheral being selected.
180 kFicLaunchMemoryErr = -9097, // Unable to launch DAE because of a memory error. DAE does NOT launch.
181 kFicGestaltBadSelector = -9099, // Gestalt selector not supported.
182 kDuplicateWriteFiles = -9118, // Writing to the same file multiple times during processing.
183 kFicCantGetTempBuffer = -9121, // Disk scheduler ran out of temporary buffers. Playlist is too complex.
184 kFicPendingRequestsFull = -9122, // (Undefined)
185 kFicRequestHandlesFull = -9123, // (Undefined)
186 kFicAnonymousDrive = -9124, // (Win32) Disk scheduler can't use a drive that doesn't have a drive signature.
187 kFicComputerNeedsRestart = -9127, // DAE state has changed such that the computer needs to restart
188 kFicCPUOverload = -9128, // Host processing has exceeded its CPU allocation.
189 kFicHostInterruptTooLong = -9129, // Host processing held off other system interrupts for too long.
190 kFicBounceHandlerTooSlow = -9132,
191 kFicBounceHandlerTooSlowToConvertWhileBouncing = -9133,
192 kFicMBoxLostConnection = -9134, // MBox was disconnected during playback
193 kFicMBoxNotConnected = -9135, // MBox is not connected
194 kFicUSBIsochronousUnderrun = -9136, // USB audio streaming underrun
195 kFicAlreadyAcquired = -9137, // tried to change coarse sample rate on already acquired deck
196 kFicTDM2BusTopologyErr = -9138, // eDsiTDM2BusTopologyErr was returned from DSI.
197 kFicDirectIODHSAlreadyOpen = -9142, // can't run if a DirectIO client is running DHS right now
198 kFicAcquiredButChangedBuffers = -9143, // DAE was able to acquire the device but had to change the disk buffers size to do it.
199 kFicStreamManagerUnderrun = -9144, // received error from StreamManager
200 kDirectMidiError = -9145, // an error occurred in the DirectMidi subsytem
201 kFicResourceForkNotFound = -9146, // Could not find the DAE resource fork (i.e. fnfErr)
202 kFicInputDelayNotSupported = -9147,
203 kFicInsufficientBounceStreams = -9148,
204 kFicAutoTotalTooDenseForDSP = -9155, // (Undefined)
205 kBadPlugInSpec = -9156, // Default error returned when there's no component object attatched to a spec.
206 kFicFarmRequiredErr = -9157, // Error returned by objects that require a DSP farm in the system.
207 kFicPlugInDidSetCursor = -9163, // When returned by FicPlugInEvent, the plug-in DID change the cursor.
208 kFicMaxFileCountReached = -9168, // Max number of files open has been reached
209 kFicCantIncreaseAIOLimits = -9169, // Can't increase the AIO kernel limits on OSX. DigiShoeTool is probably not installed correctly.
210 kFicGreenOverrunWhileVSOIsOn = -9170, // A PIO underrun/overrun occurred while varispeed is on; should probably warn the user this can happen.
211 kFicBerlinGreenStreamingError = -9171,
212 kFicHardwareDeadlineMissedErr = -9172,
213 kFicStatePacketUnderrun = -9173, // Low-latency engine ran out of state packets sent from high-latency engine
214 kFicCannotCompleteRequestError = -9174,
215 kFicNILParameterError = -9175, // Method called with one or more required parameters set to NULL
216 kFicMissingOrInvalidAllowedPlugInsListFile = -9176, // PT First-specific: could not parse the "Allowed" plug-ins file
217 kFicBufferNotLargeEnoughError = -9177, // Method called with a data buffer that is too small for the requested data
218 kFicInitializationFailed = -9178, // Error caught during FicInit
219 kFicPostPacketFailed = -9179, // Error triggered by AAXH_CPlugIn::PostPacket
220
221};
222
223// Weird errors preserved here for backwards compatibility (i.e., older DAE's returned these errors, so we should also):
224
225enum {
226 kFicBeyondPlayableRange = -9735 // Session playback passed the signed 32 bit sample number limit ( = kFicParseErr - 700).
227};
228
229
230//----------------------------------------------------------------------------
231// Error codes returned from the SADriver/DigiSystem INIT via DAE
232//----------------------------------------------------------------------------
233
234enum {
235 kFicSADriverErrOffset = -9200, // Offset only, should never be returned as a result.
236 kSADUnsupported = -9201, // Unsupported feature being set from a piece of hardware.
237 kSADNoStandardShell = -9202, // Unable to load standard shell code resource.
238 kSADTooManyPeripherals = -9203, // Went beyond the max number of peripherals allowed in the code.
239 kSADHostTimeoutErr = -9204, // Timeout occured while trying to communicate with the DSP's host port.
240 kSADInvalidValue = -9205, // Invalid value being set to a hardware feature.
241 kSADInvalidObject = -9206, // NULL object found when a valid object is required.
242
243 kSADNILClient = -9210, // Trying to opperate on a NULL client.
244 kSADClientRegistered = -9211, // Client already registered.
245 kSADClientUnregistered = -9212, // Trying to remove a client when it's not registered.
246 kSADNoListener = -9213, // No client to respond to a message from another client.
247
248 kSADCardOwned = -9220, // A card is owned by a client.
249 kSADDSPOwned = -9230, // A DSP is owned by a client.
250
251 kSADNILShell = -9240, // Trying to opperate on a NULL shell.
252 kSADShellRegistered = -9241, // Shell already registered.
253 kSADShellUnregistered = -9242, // Trying to remove a shell when it's not registered.
254 kSADShellTooSmall = -9243, // (Undefined)
255 kSADShellTooLarge = -9244, // DSP code runs into standard shell or runs out of P memory.
256 kSADStandardShell = -9245, // Trying to unregister the standard shell.
257
258 kSADNoDriverFile = -9250, // Unable to open or create the DigiSetup file.
259 kSADDriverFileUnused = -9251, // Trying to free the DigiSetup file when it hasn't been openned.
260 kSADNILResource = -9252, // Resource not found in the DigiSetup file.
261 kSADBadSize = -9253, // Resource size does not match pointer size requested.
262 kSADBadSlot = -9254, // NuBus slot value is out of range for the system.
263 kSADBadIndex = -9255 // DSP index is out of range for the system.
264};
265
266
267//----------------------------------------------------------------------------
268// Error codes for Elastic audio
269//----------------------------------------------------------------------------
270enum {
271 kFicElasticGeneralErr = -9400, // don't know what else to do
272 kFicElasticUnsupported = -9401, // requested op unsupported
273 kFicElasticCPUOverload = -9403, // Like kFicCPUOverload but for Fela
274 kFicElasticOutOfMemory = -9404, // you're not going to last long...
275 kFicElasticTrackTooDense = -9405, // like kFicAudioTrackTooDense1; feeder list too big
276 kFicElasticInadequateBuffering = -9406, // reserved buffers for Fela data too small
277 kFicElasticConnectionErr = -9408, // Problem with a plugin connection
278 kFicElasticDriftBackwardsErr = -9411, // disconnect between DAE (app?) and plugin data consumption rates
279 kFicElasticDriftForwardsErr = -9412, // disconnect between DAE (app?) and plugin data consumption rates
280 kFicElasticPlugInLimitsErr = -9413, // problem with plugin drift/lookAhead; too much requested?
281 kFicElasticInvalidParameter = -9415, // Elastic function was passed a bad parameter
282 kFicElasticInvalidState = -9416, // Elastic track's internal state is in error.
283 kFicElasticPlugInConnected = -9417, // Can't change stem format once an elastic plugin is already connected to a track
284 kFicElasticEphemeralAllocErr = -9419, // ephemeral buffer alloc failure
285 kFicElasticDiskTooSlowErr = -9473, // Like -9073, but caught in a new way (Elastic needs disk data sooner)
286};
287
288//----------------------------------------------------------------------------
289// Error codes for Clip Gain RT Fades
290//----------------------------------------------------------------------------
291enum {
292 kFicClipGainRTFadesFadeOutofBounds = 9480,
293};
294
295//----------------------------------------------------------------------------
296// Error codes for Disk Cache
297//----------------------------------------------------------------------------
298enum {
299 kFicDiskCachePageOverflow = -9500, // not enough pages in the cache to fulfill page request.
300 kFicDiskCacheWriteErr = -9502, // problem writing to the disk cache.
301 kFicDiskCacheDiskWriteErr = -9503, // problem writing to disk from the cache.
302 kFicDiskCacheInvalidNull = -9504, // invalid NULL variable. NULL and 0 have special meaning in the cache.
303 kFicDiskCacheMissingDataErr = -9506, // data that's supposed to be in the cache is not.
304 kFicDiskCacheGeneralErr = -9507, // general error.
305 kFicDiskCacheDoubleLRUPageErr = -9508, // duplicate page in the LRU.
306 kFicDiskCacheDoubleOwnerPageErr = -9509, // two pages with the same owner.
307 kFicDiskCachePageLeakErr = -9510, // page leak in the allocator.
308 kFicDiskCacheMappingErr = -9511, // corruption in mapping of disk cache objects to the page allocator
309 kFicDiskCacheUnityFileErr = -9513, // Unity and ISIS are incompatible with the disk cache's temporary buffers
310 kFicDiskCacheOutOfMemory = -9514, // Couldn't allocate the disk cache! 32bits will suffocate us all.
311 kFicNativeDiskCacheOutOfMemory = -9515, // Couldn't allocate the disk cache on a Native system!
312};
313
314//----------------------------------------------------------------------------
315// Error codes for FPGA DMA Device(Green and Berlin cards)
316//----------------------------------------------------------------------------
317enum {
318 kFicFpgaDmaDevicePIOOverflow = -9600, // PIO ring buffer overflowed
319 kFicFpgaDmaDevicePIOUnderflow = -9601, // PIO ring buffer underflow
320 kFicFpgaDmaDevicePIOSyncErr = -9602, // PIO sync error
321 kFicFpgaDmaDevicePIOClockChange = -9603, // PIO clock change error
322 kFicFpgaDmaDevicePIOUnknownErr = -9604, // PIO unknown error
323 kFicFpgaDmaDeviceTDMRcvOverflow = -9605, // TDM receive overflow
324 kFicFpgaDmaDeviceTDMXmtUnderflow = -9606, // TDM transmit underflow
325 kFicFpgaDmaDeviceTDMSyncErr = -9607, // TDM sync error
326 kFicFpgaDmaDeviceTDMCRCErr = -9608, // TDM CRC error
327 kFicFpgaDmaDeviceTDM_NO_Xbar_Txdata_error = -9609, // TDM NO_Xbar_Txdata_error
328 kFicFpgaDmaDeviceTDMUnknownErr = -9610, // TDM unknown error
329 kFicFpgaDmaDeviceRegRdTimeoutErr = -9611, // RegRdTimeoutErr
330 kFicFpgaDmaDeviceTemperatureErr = -9612, // Temperature error
331};
332
333//----------------------------------------------------------------------------
334// Various Widget Error Codes
335//----------------------------------------------------------------------------
336
337enum {
338
339 // External Callback Proc Errors -7000..-7024
340 kSelectorNotSupported = -7000, // This selector ID is unknown currently.
341 kWidgetNotFound = -7001, // Refnum did not specify a known widget.
342
343 // Plug-In Manager Errors -7025..-7049
344 kPlugInNotInstantiated = -7026, // A non-instantiated plug-in was asked to do something.
345 kNilComponentObject = -7027, // A component-referencing object was NIL.
346 kWidgetNotOpen = -7028, // A non-instantiated widget was asked to do something.
347 //TIMILEONE ADD
348 kDspMgrError = -7030, // An error originating in DspMgr returned
349 kEffectInstantiateError = -7032, // Problem occurred attempting to instantiate a plug-in.
350
351 // Plug-In Manager Errors -7050..-7075
352 kNotEnoughHardware = -7050, // Not enough hardware available to instantiate a plug-in.
353 kNotEnoughTDMSlots = -7052, // Not enough TDM slots available to instantiate a plug-in.
354 kCantInstantiatePlugIn = -7054, // Unable to instantiate a plug-in (generic error).
355 kCantFindPlugIn = -7055, // Unable to find the specified plug-in.
356 kNoPlugInsExist = -7056, // No plug-ins at all exist.
357 kPlugInUnauthorized = -7058, // To catch uncopyprotected plugins
358 kInvalidHostSignalNet = -7062, // The signalNet ptr does not correspond to a CHostSignalNet instance
359 // The RTAS/TDM plug-in would be disabled because the corresponding AAX plug-in exists.
360 //
361 // The following lower-level errors can also be converted to kPlugInDisabled:
362 // kAAXH_Result_FailedToRegisterEffectPackageWrongArchitecture
363 // kAAXH_Result_PluginBuiltAgainstIncompatibleSDKVersion
364 kPlugInDisabled = -7063,
365 kPlugInNotAllowed = -7064, // The plug-in not allowed to load
366
367 // Widget errors (returned by calls to widget functions): -7075..-7099.
368 kWidgetUnsupportedSampleRate = -7081, // Widget cannot instantiate at the current sample rate
369
370 // Connection errors: -7100..-7124
371 kInputPortInUse = -7100, // Tried to connect to an input that is already connected.
372 kOutputPortCannotConnect = -7101, // Specified output port has reached its limit of output connections.
373 kInvalidConnection = -7103, // Invalid or freed connection reference passed.
374 kBadConnectionInfo = -7104, // TDM talker & listener data not consistent on disconnect.
375 kFreeConnectionErr = -7105, // Could not delete connection info.
376 kInvalidPortNum = -7106, // Out-of-range or nonexistent port number specified.
377 kPortIsDisconnected = -7107, // Tried to disconnect a disconnected port.
378
379 kBadStemFormat = -7110,
380 kBadInputStemFormat = -7111,
381 kBadOutputStemFormat = -7112,
382 kBadSideChainStemFormat = -7113,
383 kBadGenericStemFormat = -7114,
384 kBadUnknownStemFormat = -7115,
385
386 kNoFirstRTASDuringPlayback = -7117, // can't instantiate the first RTAS plug-in on the fly (TDM decks)
387 kNoBridgeConnectionDuringPlayback = -7118, // can't create or free a bridge connection during playback
388
389 // Subwidget errs: -7125..-7149
390 kInstanceIndexRangeErr = -7126, // Specified instance index doesn't correspond with an instance.
391 kEmptySubWidgetList = -7129, // List isn't NULL, but has no elements.
392
393 // Instance errs: -7150..-7174
394 kNumInstancesWentNegative = -7150, // Somehow a count of instances (in widget or DSP) went < 0.
395 kCantChangeNumInputs = -7152, // Plugin does not have variable number of inputs.
396 kCantChangeNumOutputs = -7153, // Plugin does not have variable number of outputs.
397 kSetNumInputsOutOfRange = -7154, // Number of inputs being set is out of range.
398 kSetNumOutputsOutOfRange = -7155, // Number of outputs being set is out of range.
399 kChunkRangeErr = -7157, // Handle of plugin settings will not work on a plugin.
400
401 // driver call errs: -7200..-7249
402 kBadDriverRefNum = -7200, // Plugin does not have a valid driver object.
403 kBadHardwareRefNum = -7201, // Plugin does not have a valid pointer to a hardware object. DSPPtr = NULL.
404 kBadWidgetRef = -7202, // Widget object is NULL.
405 kLoggedExceptionInConnMgr = -7224, // Logged exception caught in Connection Manager
406 kUnknownExceptionInConnMgr = -7225, // Unknown exception caught in Connection Manager
407
408 // Widget control errors: -7300..-7324
409 kControlIndexRangeErr = -7300, // Passed control index was out of range (couldn't find control).
410 kNotOurControl = -7301, // Passed in control that didn't belong to widget.
411 kNullControl = -7302, // Passed in control ref was NULL.
412 kControlNumStepsErr = -7303, // Control provided an invalid number of steps
413
414 // Builtin plugin errors: -7350..-7374
415 kUnsupportedBuiltinPlugin = -7350, // Invalid built-in plugin spec.
416 kAssertErr = -7400,
417
418 // ASP Processing errors: - 7450..-7499
419 kFicProcessStuckInLoop = -7450, // Plugin is stuck in a loop for an process pass.
420 kFicOutputBoundsNotInited = -7452, // Plugin needs to set output connections to valid range within InitOutputBounds.
421 kFicConnectionBufferOverwrite = -7453, // Plugin overwrote the end of the connection buffer.
422 kFicNoASPBounds = -7454, // Start and end bounds for an ASP process or analysis were equal.
423 kFicASPDoneProcessing = -7456, // The ASP terminated processing with no errors.
424 kFicASPErrorWritingToDisk = -7457, // ASP encountered error while writing audio data to disk.
425 kFicASPOutputFileTooLarge = -7458, // ASP tried to write a file larger than the 2^31 bytes in size.
426 kFicASPOverwriteOnUnity = -7459, // ASP tried to write destructively to Unity
427
428 // Errors called from Failure Handler routines.
429 kUnknownErr = -7401 // Plugin caught an unknown exception
430};
431
432//----------------------------------------------------------------------------
433// Digi Serial Port Errors
434//----------------------------------------------------------------------------
435
436enum {
437 kFicSerBadParameterPointer = -7500,
438 kFicSerBadRoutineSelector = -7501,
439 kFicSerPortDoesNotExist = -7502,
440 kFicSerPortAlreadyInUse = -7503,
441 kFicSerPortNotOpen = -7504,
442 kFicSerBadPortRefereceNumber = -7505
443};
444
445// Play nice with emacs
446// Local variables:
447// mode:c++
448// End:
449
450*/
451
452
453// AAXH.h
454/*
455enum
456{
457 kAAXH_Result_NoErr = 0,
458 kAAXH_Result_Error_Base = -14000, // ePSError_Base_AAXHost
459 // kAAXH_Result_Error = kAAXH_Result_Error_Base - 0,
460 kAAXH_Result_Warning = kAAXH_Result_Error_Base - 1,
461 kAAXH_Result_UnsupportedPlatform = kAAXH_Result_Error_Base - 3,
462 kAAXH_Result_EffectNotRegistered = kAAXH_Result_Error_Base - 4,
463 kAAXH_Result_IncompleteInstantiationRequest = kAAXH_Result_Error_Base - 5,
464 kAAXH_Result_NoShellMgrLoaded = kAAXH_Result_Error_Base - 6,
465 kAAXH_Result_UnknownExceptionLoadingTIPlugIn = kAAXH_Result_Error_Base - 7,
466 kAAXH_Result_EffectComponentsMissing = kAAXH_Result_Error_Base - 8,
467 kAAXH_Result_BadLegacyPlugInIDIndex = kAAXH_Result_Error_Base - 9,
468 kAAXH_Result_EffectFactoryInitedTooManyTimes = kAAXH_Result_Error_Base - 10,
469 kAAXH_Result_InstanceNotFoundWhenDeinstantiating = kAAXH_Result_Error_Base - 11,
470 kAAXH_Result_FailedToRegisterEffectPackage = kAAXH_Result_Error_Base - 12,
471 kAAXH_Result_PlugInSignatureNotValid = kAAXH_Result_Error_Base - 13,
472 kAAXH_Result_ExceptionDuringInstantiation = kAAXH_Result_Error_Base - 14,
473 kAAXH_Result_ShuffleCancelled = kAAXH_Result_Error_Base - 15,
474 kAAXH_Result_NoPacketTargetRegistered = kAAXH_Result_Error_Base - 16,
475 kAAXH_Result_ExceptionReconnectingAfterShuffle = kAAXH_Result_Error_Base - 17,
476 kAAXH_Result_EffectModuleCreationFailed = kAAXH_Result_Error_Base - 18,
477 kAAXH_Result_AccessingUninitializedComponent = kAAXH_Result_Error_Base - 19,
478 kAAXH_Result_TIComponentInstantiationPostponed = kAAXH_Result_Error_Base - 20,
479 kAAXH_Result_FailedToRegisterEffectPackageNotAuthorized = kAAXH_Result_Error_Base - 21,
480 kAAXH_Result_FailedToRegisterEffectPackageWrongArchitecture = kAAXH_Result_Error_Base - 22,
481 kAAXH_Result_PluginBuiltAgainstIncompatibleSDKVersion = kAAXH_Result_Error_Base - 23,
482 kAAXH_Result_RequiredProperyMissing = kAAXH_Result_Error_Base - 24,
483 kAAXH_Result_ObjectCopyFailed = kAAXH_Result_Error_Base - 25,
484 kAAXH_Result_CouldNotGetPlugInBundleLoc = kAAXH_Result_Error_Base - 26,
485 kAAXH_Result_CouldNotFindExecutableInBundle = kAAXH_Result_Error_Base - 27,
486 kAAXH_Result_CouldNotGetExecutableLoc = kAAXH_Result_Error_Base - 28,
487
488 kAAXH_Result_InvalidArgumentValue = kAAXH_Result_Error_Base - 100, // WARNING: Overlaps with eTISysErrorBase
489 kAAXH_Result_NameNotFoundInPageTable = kAAXH_Result_Error_Base - 101 // WARNING: Overlaps with eTISysErrorNotImpl
490};
491
492*/
493
494
495// PlatformSupport_Error.h
496/*
497enum
498{
499 ePSError_None = 0,
500 ePSError_Base_DSI = -1000, // DaeStatus.h
501 ePSError_Base_DirectIO = -6000, // DirectIODefs.h
502 ePSError_Base_DirectMIDI = -6500, // DirectIODefs.h
503
504 ePSError_Base_DAE_Plugins = -7000, // FicErrors.h
505 ePSError_Base_DAE_Disk = -8000, // FicErrors.h
506 ePSError_Base_DAE_General = -9000, // FicErrors.h
507 ePSError_Base_DAE_DCM = -11000, // FicErrors.h
508 ePSError_General_PLEASESTOPUSINGTHIS = -12000,
509 ePSError_Generic_PLEASESTOPUSINGTHIS = -12001,
510 ePSError_OutOfMemory = -12002,
511 ePSError_OutOfHardwareMemory = -12003,
512 ePSError_FixedListTooSmall = -12004,
513 ePSError_FileNotFound = -12005,
514 ePSError_Timeout = -12006,
515 ePSError_FileReadError = -12007,
516 ePSError_InvalidArgs = -12008,
517
518 ePSError_DEXBase_Interrupts = -12100,
519 ePSError_DEXBase_PCI = -12200,
520 ePSError_DEXBase_Task = -12300,
521 ePSError_DEXBase_Console = -12400,
522 ePSError_Base_PalmerEngine = -12500,
523 ePSError_Base_IP = -12600,
524 ePSError_Base_DEXLoader = -12700,
525 ePSError_Base_DEXDebugger = -12800,
526 ePSError_Base_DEXDLLLoader = -12900,
527 ePSError_Base_Thread = -13000,
528 ePSError_Base_Hardware = -13100,
529 ePSError_Base_TMS = -13400, // TMSErrors.h
530 ePSError_Base_Harpo = -13500, // Dhm_HarpoInterface.h
531 ePSError_Base_FlashProgram = -13600, // Hampton_HostFPGAProgramming.h
532 ePSError_Base_Balance = -13700, // Dhm_Balance.h
533 ePSError_Base_CTIDSP = -13800, // Dhm_Core_TIDSP.h
534 ePSError_Base_ONFPGASerial = -13900, // Dhm_COnFPGASerialController.h
535 ePSError_Base_AAXHost = -14000, // AAXH.h
536 ePSError_Base_TISys = -14100, // TISysError.h
537 ePSError_Base_DIDL = -14200, // DIDL.h
538 ePSError_Base_TIDSPMgr = -14300, // TIDspMgrAllocationReturnCodes.h
539 ePSError_Base_Berlin = -14400, // Dhm_Berlin.h
540 ePSError_Base_Isoch = -14500, // Dhm_IsochEngine.h
541 ePSError_SuppHW_NotSupported = -14600, // Dhm_SuppHW.h
542
543 // Add new ranges here...
544
545 ePSError_Base_AAXPlugIns = -20000, // AAX_Errors.h
546
547 ePSError_Base_DynamicErrors = -30000, // Dynamically Generated error tokens
548
549
550
551 ePSError_Base_GenericErrorTranslations = -21000, // these errors used to be ePSError_Generic_PLEASESTOPUSINGTHIS - splitting into unique error codes
552 // putting this out in space in case anyone's using other numbers on another branch
553 ePSError_CEthDCMDeviceInterface_CreatePort_UncaughtException = -21001,
554 ePSError_CEthDCMDeviceInterface_DestroyPort_UncaughtException = -21002,
555 ePSError_CEEPro1000Imp_InitializeAndAllocateBuffers_NullE1000State = -21003,
556 ePSError_CIODeviceOverviewsManager_OvwDataThreadNull = -21004,
557 ePSError_CIODeviceOverviewsManager_ThreadAlreadyRunning = -21005,
558 ePSError_CPalmerEngineKernelImp_CreateIsochronousStream_PalmerEngineIsCurrentlyShuttingDown = -21006,
559 ePSError_CPalmerEngineKernelImp_SetStreamEnabledState_PalmerEngineIsCurrentlyShuttingDown = -21007,
560 ePSError_CPalmerEngineImplementation_StartOperating_DidNotFindPartnerInTime = -21008,
561 ePSError_CPalmerEngineImplementation_TransmitAsyncMessage_PalmerEngineIsCurrentlyShuttingDown = -21009,
562 ePSError_CPalmerEngineImplementation_TransmitAsyncMessageAndWaitForReply_PalmerEngineIsCurrentlyShuttingDown = -21010,
563 ePSError_CPalmerEngineImplementation_TransmitAsyncMessageAndWaitForReply_PalmerEngineIsShuttingDownAfterReply = -21011,
564 ePSError_CPalmerEngineImplementation_TransmitGeneralAsyncPacket_PalmerEngineIsShuttingDown = -21012,
565 ePSError_CEthernetDeviceSimpleImp_InitializeAndAllocateBuffers_FailedToGetBufferInfo = -21013,
566 ePSError_CPEInterface_Imp_GetFeatureSetList_FailedWinGetResourceOfModuleByName = -21014,
567 ePSError_CPEInterface_Imp_GetFourPartVersion_FailedWinGetVersionOfModuleByName = -21015,
568 ePSError_CHamptonHostDEXLifeLine_Common_TransmitMessageAndGetReply_TransmitAndWaitForReplyFailed = -21016,
569 ePSError_CHamptonHostDEXLifeLine_Common_TransmitMessageAndGetReply_ConnectionClosedOrNotEstablished = -21017,
570 ePSError_CHamptonHostDEXLifeLine_Common_TransmitMessageAndGetReply_GotUnexpectedReply = -21018,
571 ePSError_PerformLoadNotSupportedOnMac = -21019,
572 ePSError_PerformLoad_FailedGetUnusedUDPPort = -21020,
573 ePSError_PerformLoad_FailedCreateLocalUDPEndPoint = -21021,
574 ePSError_PerformLoad_FailedCreateRemoteUDPEndPoint = -21022,
575 ePSError_PerformLoad_FailedToGetPacketFromEndpoint = -21023,
576 ePSError_PerformLoad_FirstPacketContainsUnexpectedData = -21024,
577 ePSError_PerformLoad_SecondPacketContainsUnexpectedData = -21025,
578 ePSError_PerformLoad_FailedToGetCorrectPacketFromEndpoint = -21026,
579 ePSError_HamptonDEXLoader_LoadOverUDP_UpdateImageBootInterfaceHeaderFailed = -21027,
580 ePSError_HamptonDEXLoader_ResetOverUDP_FailedGetUnusedUDPPort = -21028,
581 ePSError_HamptonDEXLoader_ResetOverUDP_FailedCreateLocalUDPEndPoint = -21029,
582 ePSError_CTask_Imp_SetSchedulingParameters_FailedThreadSpecificDataInit = -21030,
583 ePSError_CTask_Imp_SetSchedulingParameters_FailedToSetFirstThreadPriority = -21031,
584 ePSError_CTask_Imp_SetSchedulingParameters_FailedToSetSecondThreadPriority = -21032,
585 ePSError_CTask_Imp_SetSchedulingParameters_FailedToVerifyNewPolicy = -21033,
586 ePSError_CTask_Imp_SetSchedulingParameters_FailedToSetTimeshareToFalse = -21034,
587 ePSError_CTask_Imp_SetSchedulingParameters_FailedToGetThreadPolicy = -21035,
588 ePSError_CTask_Imp_SetSchedulingParameters_FailedToSetThirdThreadPriority = -21036,
589 ePSError_CTask_Imp_SetSchedulingParameters_FailedToGetThreadPolicyAgain = -21037,
590 ePSError_CModule_Hardware_Imp_GetHardwareMemoryAvailable_WinError = -21038,
591 ePSError_CModule_Hardware_Imp_SetHardwareMemoryRequired_WinError = -21039,
592 ePSError_Win_CModule_Hardware_Imp_MapAndGetDALDevices_MapIOCTLFailed = -21040,
593 ePSError_CModule_Hardware_Imp_ThreadMethod_CreateDALHandleFailed = -21041,
594 ePSError_CSyncPrim_Semaphore_Imp_CSyncPrim_Semaphore_Imp_CreateSemaphoreFailed = -21042,
595 ePSError_CSyncPrim_Event_Imp_CSyncPrim_Event_Imp_CreateEventFailed = -21043,
596 ePSError_CTask_Imp_SetSchedulingParameters_gSetInfoThreadProcNotSet = -21044,
597 ePSError_CTask_Imp_SetSchedulingParameters_SetThreadPriorityFailed = -21045,
598 ePSError_CTask_Imp_SetProcessorAffinityMask_SetThreadAffinityMaskFailed = -21046,
599 ePSError_PSThreadTable_VerifyTableEntryExists_NotFound = -21047,
600 ePSError_PSM_SimpleThread_ThreadMethod_RunThrewException = -21048,
601 ePSError_Hampton_DEXImage_MakeROM_BadFilename = -21049,
602 ePSError_MakeDllIntoHex_BadFilename = -21050,
603 ePSError_MakeDllIntoHex_BadPayloadObject = -21051,
604 ePSError_MakeDllIntoHex_FailedCreatePEInterface = -21052,
605 ePSError_MakeDllIntoHex_FailedResolvedAllSymbols = -21053,
606 ePSError_MakeDllIntoHexWithStdCLib_BadFilename = -21054,
607 ePSError_MakeDllIntoHexWithStdCLib_NULLDEXImages = -21055,
608 ePSError_CDEXWin32Kernel_ExceptionsModule_Initialize_FailedToCreateTLSContext = -21056,
609 ePSError_CDEXIP_ARP_Imp_GetMACForGivenIP_IPAddressMaskBad = -21057,
610 ePSError_CDEXIP_ARP_Imp_GetMACForGivenIP_IPAddressInvalid = -21058,
611 ePSError_DEXIntegrityCheck_VerifySection_FailureCheckingSectionCookies = -21059,
612 ePSError_DEXIntegrityCheck_VerifySection_FailureCheckingSectionBufferCookie = -21060,
613 ePSError_DEXIntegrityCheck_VerifyTextSection_FailedChecksum = -21061,
614 ePSError_Mac_CModule_Hardware_Imp_MapAndGetDALDevices_MapIOCTLFailed = -21062,
615 ePSError_CModule_Hardware_Imp_ThreadMethod_mach_port_allocate_failed = -21063,
616 ePSError_DEXTool_main_ExceptionThrown = -21064,
617 ePSError_Hampton_DEXImage_MakeHexIntoBin_HEXFileNameVersion_StandardExceptionThrown = -21065,
618 ePSError_Hampton_DEXImage_MakeHexIntoBin_HEXFileNameVersion_UnknownExceptionThrown = -21066,
619 ePSError_Hampton_DEXImage_MakeHexIntoBin_HEXDataVersion_StandardExceptionThrown = -21067,
620 ePSError_Hampton_DEXImage_MakeHexIntoBin_HEXDataVersion_UnknownExceptionThrown = -21068
621};
622*/
623
624// TISysError.h
625/*
630enum
631{
632 eTISysErrorSuccess = 0, ///< success code
633 eTISysErrorBase = ePSError_Base_TISys, ///< -14100 see PlatformSupport_Error.h
634 eTISysErrorNotImpl = eTISysErrorBase - 1, ///< not implemented
635 eTISysErrorMemory = eTISysErrorBase - 2, ///< out of memory
636 eTISysErrorParam = eTISysErrorBase - 3, ///< invalid parameter
637 eTISysErrorNull = eTISysErrorBase - 4, ///< NULL value
638 eTISysErrorCommunication = eTISysErrorBase - 5, ///< Communication problem with Shell
639 eTISysErrorIllegalAccess = eTISysErrorBase - 6,
640 eTISysErrorDirectAccessOfFifoBlocksUnsupported = eTISysErrorBase - 7,
641 eTISysErrorPortIdOutOfBounds = eTISysErrorBase - 8,
642 eTISysErrorPortTypeDoesNotSupportDirectAccess = eTISysErrorBase - 9,
643 eTISysErrorFIFOFull = eTISysErrorBase - 10, ///< FIFO doesn't have capacity
644 eTISysErrorRPCTimeOutOnDSP = eTISysErrorBase - 11,
645 eTISysErrorShellMgrChip_SegsDontMatchAddrs = eTISysErrorBase - 12,
646 eTISysErrorOnChipRPCNotRegistered = eTISysErrorBase - 13,
647 eTISysErrorUnexpectedBufferLength = eTISysErrorBase - 14,
648 eTISysErrorUnexpectedEntryPointName = eTISysErrorBase - 15,
649 eTISysErrorPortIDTooLargeForContextBlock = eTISysErrorBase - 16,
650 eTISysErrorMixerDelayNotSupportedForPlugIns = eTISysErrorBase - 17,
651 eTISysErrorShellFailedToStartUp = eTISysErrorBase - 18,
652 eTISysErrorUnexpectedCondition = eTISysErrorBase - 19,
653 eTISysErrorShellNotRunningWhenExpected = eTISysErrorBase - 20,
654 eTISysErrorFailedToCreateNewPIInstance = eTISysErrorBase - 21,
655 eTISysErrorUnknownPIInstance = eTISysErrorBase - 22,
656 eTISysErrorTooManyInstancesForSingleBufferProcessing = eTISysErrorBase - 23,
657 eTISysErrorNoDSPs = eTISysErrorBase - 24,
658 eTISysBadDSPID = eTISysErrorBase - 25,
659 eTISysBadPIContextWriteBlockSize = eTISysErrorBase - 26,
660 eTISysInstanceInitFailed = eTISysErrorBase - 28,
661 eTISysSameModuleLoadedTwiceOnSameChip = eTISysErrorBase - 29,
662 eTISysCouldNotOpenPlugInModule = eTISysErrorBase - 30,
663 eTISysPlugInModuleMissingDependcies = eTISysErrorBase - 31,
664 eTISysPlugInModuleLoadableSegmentCountMismatch = eTISysErrorBase - 32,
665 eTISysPlugInModuleLoadFailure = eTISysErrorBase - 33,
666 eTISysOutOfOnChipDebuggingSpace = eTISysErrorBase - 34,
667 eTISysMissingAlgEntryPoint = eTISysErrorBase - 35,
668 eTISysInvalidRunningStatus = eTISysErrorBase - 36,
669 eTISysExceptionRunningInstantiation = eTISysErrorBase - 37,
670 eTISysTIShellBinaryNotFound = eTISysErrorBase - 38,
671 eTISysTimeoutWaitingForTIShell = eTISysErrorBase - 39,
672 eTISysSwapScriptTimeout = eTISysErrorBase - 40,
673 eTISysTIDSPModuleNotFound = eTISysErrorBase - 41,
674 eTISysTIDSPReadError = eTISysErrorBase - 42,
675
676};
677
678*/
679
681#endif // AAX_ERRORS_H
Utility functions for byte-swapping. Used by AAX_CChunkDataParser.
#define AAX_ENUM_SIZE_CHECK(x)
Macro to ensure enum type consistency across binaries.
Definition: AAX_Enums.h:41
AAX_EError
Definition: AAX_Errors.h:35
@ AAX_RESULT_NEW_PACKET_POSTED
Definition: AAX_Errors.h:65
@ AAX_ERROR_CONTEXT_ALREADY_HAS_METERS
Definition: AAX_Errors.h:51
@ AAX_ERROR_INVALID_PARAMETER_ID
Definition: AAX_Errors.h:38
@ AAX_ERROR_NOTIFICATION_FAILED
Definition: AAX_Errors.h:68
@ AAX_ERROR_UNSUPPORTED_ENCODING
Unsupported input argument text encoding.
Definition: AAX_Errors.h:84
@ AAX_ERROR_PORT_ID_OUT_OF_RANGE
Definition: AAX_Errors.h:53
@ AAX_ERROR_INVALID_CHUNK_ID
Definition: AAX_Errors.h:44
@ AAX_ERROR_PLUGIN_END
Custom plug-in error codes may be placed in the range ( AAX_ERROR_PLUGIN_END, AAX_ERROR_PLUGIN_BEGIN ...
Definition: AAX_Errors.h:92
@ AAX_RESULT_ADD_FIELD_UNSUPPORTED_FIELD_TYPE
Definition: AAX_Errors.h:60
@ AAX_ERROR_UNIMPLEMENTED
Definition: AAX_Errors.h:46
@ AAX_ERROR_PLUGIN_NULL_PARAMETER
Definition: AAX_Errors.h:67
@ AAX_RESULT_PACKET_STREAM_NOT_EMPTY
Definition: AAX_Errors.h:59
@ AAX_ERROR_UNKNOWN_EXCEPTION
An AAX plug-in should return this to the host if an unknown exception is caught. Exceptions should ne...
Definition: AAX_Errors.h:79
@ AAX_ERROR_MALFORMED_CHUNK
Definition: AAX_Errors.h:63
@ AAX_ERROR_EMPTY_EFFECT_NAME
Definition: AAX_Errors.h:74
@ AAX_ERROR_MIXER_THREAD_FALLING_BEHIND
Definition: AAX_Errors.h:61
@ AAX_ERROR_DIRECT_ACCESS_OUT_OF_BOUNDS
Definition: AAX_Errors.h:55
@ AAX_ERROR_INVALID_PATH
Definition: AAX_Errors.h:77
@ AAX_ERROR_SIGNED_INT_OVERFLOW
Definition: AAX_Errors.h:70
@ AAX_ERROR_FIFO_FULL
Definition: AAX_Errors.h:56
@ AAX_ERROR_NULL_OBJECT
Definition: AAX_Errors.h:41
@ AAX_ERROR_NULL_COMPONENT
Definition: AAX_Errors.h:52
@ AAX_ERROR_PRINT_FAILURE
A failure occurred in a "print" library call such as printf.
Definition: AAX_Errors.h:88
@ AAX_ERROR_PLUGIN_BEGIN
Custom plug-in error codes may be placed in the range ( AAX_ERROR_PLUGIN_END, AAX_ERROR_PLUGIN_BEGIN ...
Definition: AAX_Errors.h:91
@ AAX_ERROR_INVALID_ARGUMENT
One or more input parameters are invalid; all output parameters are left unchanged.
Definition: AAX_Errors.h:80
@ AAX_ERROR_INVALID_METER_INDEX
Definition: AAX_Errors.h:40
@ AAX_ERROR_UNEXPECTED_EFFECT_ID
Encountered an effect ID with a different value from what was expected.
Definition: AAX_Errors.h:85
@ AAX_ERROR_PLUGIN_NOT_AUTHORIZED
Definition: AAX_Errors.h:66
@ AAX_ERROR_UNKNOWN_PLUGIN
Definition: AAX_Errors.h:75
@ AAX_ERROR_INVALID_STRING_CONVERSION
Definition: AAX_Errors.h:39
@ AAX_ERROR_ACF_ERROR
Definition: AAX_Errors.h:49
@ AAX_ERROR_OLDER_VERSION
Definition: AAX_Errors.h:42
@ AAX_ERROR_ARGUMENT_OUT_OF_RANGE
One or more input parameters are out of the expected range, e.g. an index argument that is negative o...
Definition: AAX_Errors.h:87
@ AAX_ERROR_INVALID_FIELD_INDEX
Definition: AAX_Errors.h:62
@ AAX_ERROR_NO_COMPONENTS
Definition: AAX_Errors.h:71
@ AAX_ERROR_POST_PACKET_FAILED
Definition: AAX_Errors.h:58
@ AAX_ERROR_INCORRECT_CHUNK_SIZE
Definition: AAX_Errors.h:45
@ AAX_ERROR_FIELD_TYPE_DOES_NOT_SUPPORT_DIRECT_ACCESS
Definition: AAX_Errors.h:54
@ AAX_ERROR_NULL_ARGUMENT
One or more required pointer arguments are null.
Definition: AAX_Errors.h:81
@ AAX_ERROR_PROPERTY_UNDEFINED
Definition: AAX_Errors.h:76
@ AAX_ERROR_DUPLICATE_TYPE_ID
Definition: AAX_Errors.h:73
@ AAX_ERROR_NO_ABBREVIATED_PARAMETER_NAME
No parameter name abbreviation with the requested properties has been defined.
Definition: AAX_Errors.h:86
@ AAX_ERROR_INVALID_VIEW_SIZE
Definition: AAX_Errors.h:69
@ AAX_ERROR_INVALID_PARAMETER_INDEX
Definition: AAX_Errors.h:47
@ AAX_ERROR_INITIALIZING_PACKET_STREAM_THREAD
Definition: AAX_Errors.h:57
@ AAX_ERROR_INVALID_METER_TYPE
Definition: AAX_Errors.h:50
@ AAX_ERROR_INVALID_CHUNK_INDEX
Definition: AAX_Errors.h:43
@ AAX_ERROR_UNKNOWN_ID
Definition: AAX_Errors.h:78
@ AAX_SUCCESS
Definition: AAX_Errors.h:36
@ AAX_ERROR_INVALID_INTERNAL_DATA
Some part of the internal data required by the method is invalid.
Definition: AAX_Errors.h:82
@ AAX_ERROR_NOT_INITIALIZED
Definition: AAX_Errors.h:48
@ AAX_ERROR_TOD_BEHIND
Definition: AAX_Errors.h:64
@ AAX_ERROR_ARGUMENT_BUFFER_OVERFLOW
A buffer argument was not large enough to hold the data which must be placed within it.
Definition: AAX_Errors.h:83
@ AAX_ERROR_DUPLICATE_EFFECT_ID
Definition: AAX_Errors.h:72