Replies: 1 comment 1 reply
-
I think tday we are doing all non process() module work in the IPC thread and this is probably OK for current modules. However, there may be modules that require more cycles that would delay IPC (if using IPC thread) and will require some extension module API to schedule work. e.g. int module_work_schedule_idle(module, work_func, arg);
int module_work_cancel(module, work_func, arg); Which would call the Zephyr scheduling APIs with the appropriate priorities for the module type. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With some new modules we are designing there is a challenge of squeezing computation that is required by parameters change.
It will be beneficial to be able to create control thread within the module, to separate high-priority audio process task and lesser priority parameters updates.
Is it possible to use threads from inside the module_adapter`s module?
And if not, maybe there is some approach you can suggest (other than computations optimization, which is already ongoing)?
Beta Was this translation helpful? Give feedback.
All reactions