From a992ce7f4ced35bcde7d75d86de15d6c1a24b36c Mon Sep 17 00:00:00 2001 From: Ranjani Sridharan Date: Tue, 11 Jan 2022 17:31:19 -0800 Subject: [PATCH] codec_adapter: Introduce new enum for processing modes This will be used to set the processing mode for the modules. Signed-off-by: Ranjani Sridharan --- src/include/sof/audio/codec_adapter/codec/generic.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/include/sof/audio/codec_adapter/codec/generic.h b/src/include/sof/audio/codec_adapter/codec/generic.h index a8f30d413..517c6b2c1 100644 --- a/src/include/sof/audio/codec_adapter/codec/generic.h +++ b/src/include/sof/audio/codec_adapter/codec/generic.h @@ -79,6 +79,19 @@ enum module_cfg_fragment_position { MODULE_CFG_FRAGMENT_SINGLE, }; +/** + * \enum module_processing_mode + * MODULE_PROCESSING_NORMAL: Indicates that module is expected to apply its custom processing on + * the input signal + * MODULE_PROCESSING_BYPASS: Indicates that module is expected to skip custom processing on + * the input signal and act as a passthrough component + */ + +enum module_processing_mode { + MODULE_PROCESSING_NORMAL, + MODULE_PROCESSING_BYPASS, +}; + /*****************************************************************************/ /* Module generic data types */ /*****************************************************************************/