@startuml

participant audiohub as audiohub
participant mixer1 as mixer1
participant decoupler as decoupler


title "Mixer: MAX_MIX_COUNT = 0"
loop while(1)
audiohub -> mixer1 : receive request
mixer1 -> decoupler : forward request

alt decoupler responds with command
decoupler -> mixer1 : get command
mixer1 -> audiohub : forward command
audiohub -> mixer1 : receive handshake
mixer1 -> decoupler : forward handshake
else decoupler responds with data
mixer1 -> audiohub : give samples
mixer1 <- audiohub : get samples
mixer1 <- decoupler : get samples
mixer1 -> decoupler : give samples
end
end

@enduml
