mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
audio: Fix state machine initial and final state symbols
In UML, the initial state is a solid circle, the final
state is a double circle. In the Core HAL diagrams it
was the opposite.
Test: dot -Tpng stream-{in|out}-[async-]sm.gv -o ...
Change-Id: Id69f17d0a47227e744eb6dadcb5fee08c07bb0bd
(cherry picked from commit f082902b41)
Merged-In: Id69f17d0a47227e744eb6dadcb5fee08c07bb0bd
This commit is contained in:
@@ -14,8 +14,8 @@
|
||||
|
||||
// To render: dot -Tpng stream-in-async-sm.gv -o stream-in-async-sm.png
|
||||
digraph stream_in_async_state_machine {
|
||||
node [shape=doublecircle style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=point width=0.5] F;
|
||||
node [shape=point style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=doublecircle width=0.5] F;
|
||||
node [shape=oval width=1];
|
||||
node [fillcolor=lightgreen] STANDBY; // buffer is empty
|
||||
node [fillcolor=tomato] CLOSED;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
// To render: dot -Tpng stream-in-sm.gv -o stream-in-sm.png
|
||||
digraph stream_in_state_machine {
|
||||
node [shape=doublecircle style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=point width=0.5] F;
|
||||
node [shape=point style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=doublecircle width=0.5] F;
|
||||
node [shape=oval width=1];
|
||||
node [fillcolor=lightgreen] STANDBY; // buffer is empty
|
||||
node [fillcolor=tomato] CLOSED;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
// To render: dot -Tpng stream-out-async-sm.gv -o stream-out-async-sm.png
|
||||
digraph stream_out_async_state_machine {
|
||||
node [shape=doublecircle style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=point width=0.5] F;
|
||||
node [shape=point style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=doublecircle width=0.5] F;
|
||||
node [shape=oval width=1];
|
||||
node [fillcolor=lightgreen] STANDBY; // buffer is empty
|
||||
node [fillcolor=lightgreen] IDLE; // buffer is empty
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
|
||||
// To render: dot -Tpng stream-out-sm.gv -o stream-out-sm.png
|
||||
digraph stream_out_state_machine {
|
||||
node [shape=doublecircle style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=point width=0.5] F;
|
||||
node [shape=point style=filled fillcolor=black width=0.5] I;
|
||||
node [shape=doublecircle width=0.5] F;
|
||||
node [shape=oval width=1];
|
||||
node [fillcolor=lightgreen] STANDBY; // buffer is empty
|
||||
node [fillcolor=lightgreen] IDLE; // buffer is empty
|
||||
|
||||
Reference in New Issue
Block a user