Skip to content

Commit f991b7d

Browse files
softwareckilgirdwood
authored andcommitted
module: Extend module error code definitions
Ported additional error code definitions from iadk module API. Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>
1 parent 4bdefd7 commit f991b7d

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

src/include/module/iadk/adsp_error_code.h

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,25 @@ typedef uint32_t AdspErrorCode;
3636
/* Service is not supported on target platform. */
3737
#define ADSP_SERVICE_UNAVAILABLE 143
3838

39+
/* SystemAgentInterface */
40+
#define ADSP_MODULE_CREATION_FAILURE 16
41+
42+
/* ProcessingModuleFactoryInterface */
43+
44+
/* Reports that the given value of Input Buffer Size is invalid */
45+
#define ADSP_INVALID_IBS 17
46+
/* Reports that the given value of Output Buffer Size is invalid */
47+
#define ADSP_INVALID_OBS 18
48+
/* Reports that the given value of Cycles Per Chunk processing is invalid */
49+
#define ADSP_INVALID_CPC 19
50+
/* Reports that the settings provided for module creation are invalid */
51+
#define ADSP_INVALID_SETTINGS 20
52+
53+
/* ProcessingModuleInterface */
54+
/* Reports that the message content given for configuration is invalid */
55+
#define ADSP_INVALID_CONFIGURATION 21
56+
57+
/* Reports that the module does not support retrieval of its current configuration information */
58+
#define ADSP_NO_CONFIGURATION 22
59+
3960
#endif /* __MODULE_IADK_ADSP_ERROR_CODE_H__ */

0 commit comments

Comments
 (0)