Skip to content

Commit

Permalink
RRTRTRT
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinszkudlinski committed May 31, 2024
1 parent cd88b27 commit bb75f8a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
actor "ipc/ipc_comp_new()" as c
participant "audio/component" as comp
participant "comp_driver" as drv
participant "lib/heap" as heap

c -> comp : comp_new(comp : sof_ipc_comp)
activate comp
comp -> comp : get_drv(comp->type) : drv
comp -> drv : drv->ops.new(comp)
activate drv
drv -> heap : rzalloc(Runtime)
drv <-- heap
comp <-- drv : comp_dev*
deactivate drv

comp -> comp : init component
c <-- comp : comp_dev*
deactivate comp
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,7 @@ Entity using sink/source to entity using sink/source
Typically, a module a module. This is the most natural way of binding (at current code - the only way), requires a buffer in between:


.. uml:: images/module_to_module.pu
:caption: Component Device States

sdas

0 comments on commit bb75f8a

Please sign in to comment.