Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lmdk: dwmix: Add example of loadable down mixer module #8546

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 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,27 @@ typedef uint32_t AdspErrorCode;
/* Service is not supported on target platform. */
#define ADSP_SERVICE_UNAVAILABLE 143

#define ADSP_MAX_VALUE ADSP_FATAL_FAILURE

/* SystemAgentInterface */
#define ADSP_MODULE_CREATION_FAILURE (ADSP_MAX_VALUE + 1)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wont the max value be changed here if we add more errors ?


/* ProcessingModuleFactoryInterface */

/* Reports that the given value of Input Buffer Size is invalid */
#define ADSP_INVALID_IBS (ADSP_MAX_VALUE + 1)
/* Reports that the given value of Output Buffer Size is invalid */
#define ADSP_INVALID_OBS (ADSP_MAX_VALUE + 2)
/* Reports that the given value of Cycles Per Chunk processing is invalid */
#define ADSP_INVALID_CPC (ADSP_MAX_VALUE + 3)
/* Reports that the settings provided for module creation are invalid */
#define ADSP_INVALID_SETTINGS (ADSP_MAX_VALUE + 4)

/* ProcessingModuleInterface */
/* Reports that the message content given for configuration is invalid */
#define ADSP_INVALID_CONFIGURATION (ADSP_MAX_VALUE + 1)

/* Reports that the module does not support retrieval of its current configuration information */
#define ADSP_NO_CONFIGURATION (ADSP_MAX_VALUE + 2)

#endif /* __MODULE_IADK_ADSP_ERROR_CODE_H__ */