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