Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 2 additions & 0 deletions src/audio/module_adapter/module_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1361,6 +1361,7 @@ int module_adapter_trigger(struct comp_dev *dev, int cmd)
if (dev->ipc_config.type == SOF_COMP_HOST || dev->ipc_config.type == SOF_COMP_DAI)
return interface->endpoint_ops->trigger(dev, cmd);

#if CONFIG_IPC_MAJOR_3
/*
* If the module doesn't support pause, keep it active along with the rest of the
* downstream modules
Expand All @@ -1369,6 +1370,7 @@ int module_adapter_trigger(struct comp_dev *dev, int cmd)
dev->state = COMP_STATE_ACTIVE;
return PPL_STATUS_PATH_STOP;
}
#endif

if (interface->trigger) {
#if CONFIG_SOF_USERSPACE_APPLICATION
Expand Down
2 changes: 2 additions & 0 deletions src/audio/mux/mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ static int mux_demux_common_init(struct processing_module *mod, enum sof_comp_ty
}

mod->verify_params_flags = BUFF_PARAMS_CHANNELS;
#if CONFIG_IPC_MAJOR_3
mod->no_pause = true;
#endif
cd->comp_type = type;
return 0;

Expand Down
2 changes: 2 additions & 0 deletions src/include/module/module/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ struct processing_module {
*/
bool dp_startup_delay;

#if CONFIG_IPC_MAJOR_3
/* flag to indicate module does not pause */
bool no_pause;
#endif

/*
* flag to indicate that the sink buffer writeback should be skipped. It will be handled
Expand Down
Loading