mirror of https://github.com/thesofproject/sof.git
module_interface: Add the set/get_processing_mode API's
These will be used to set/get the processing mode for the modules. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
This commit is contained in:
parent
a992ce7f4c
commit
499b4f554c
|
@ -148,6 +148,17 @@ struct module_interface {
|
|||
uint32_t config_id, uint32_t data_offset_size,
|
||||
const uint8_t *fragment, size_t fragment_size);
|
||||
|
||||
/**
|
||||
* Set processing mode for the module
|
||||
*/
|
||||
int (*set_processing_mode)(struct processing_module *mod,
|
||||
enum module_processing_mode mode);
|
||||
|
||||
/**
|
||||
* Get the current processing mode for the module
|
||||
*/
|
||||
enum module_processing_mode (*get_processing_mode)(struct processing_module *mod);
|
||||
|
||||
/**
|
||||
* Module specific reset procedure, called as part of codec_adapter component
|
||||
* reset in .reset(). This should reset all parameters to their initial stage
|
||||
|
|
Loading…
Reference in New Issue