Skip to content

Commit

Permalink
module: Extend module error code definitions
Browse files Browse the repository at this point in the history
Ported additional error code definitions from iadk module API.

Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
  • Loading branch information
softwarecki authored and lgirdwood committed Feb 19, 2024
1 parent 4bdefd7 commit f991b7d
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/include/module/iadk/adsp_error_code.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,25 @@ typedef uint32_t AdspErrorCode;
/* Service is not supported on target platform. */
#define ADSP_SERVICE_UNAVAILABLE 143

/* SystemAgentInterface */
#define ADSP_MODULE_CREATION_FAILURE 16

/* ProcessingModuleFactoryInterface */

/* Reports that the given value of Input Buffer Size is invalid */
#define ADSP_INVALID_IBS 17
/* Reports that the given value of Output Buffer Size is invalid */
#define ADSP_INVALID_OBS 18
/* Reports that the given value of Cycles Per Chunk processing is invalid */
#define ADSP_INVALID_CPC 19
/* Reports that the settings provided for module creation are invalid */
#define ADSP_INVALID_SETTINGS 20

/* ProcessingModuleInterface */
/* Reports that the message content given for configuration is invalid */
#define ADSP_INVALID_CONFIGURATION 21

/* Reports that the module does not support retrieval of its current configuration information */
#define ADSP_NO_CONFIGURATION 22

#endif /* __MODULE_IADK_ADSP_ERROR_CODE_H__ */

0 comments on commit f991b7d

Please sign in to comment.