~aleteoryx/muditaos

ref: c6192fd9120effd28a9ac5b2391e7bfec7964e47 muditaos/module-bluetooth/doc/bt_play_audio_handling.puml -rw-r--r-- 516 bytes
c6192fd9 — Lefucjusz [BH-1989][BH-1990] Core functionality of What's New app 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@startuml

actor User
participant "A2DP Sink" as sink
participant "Source's AVRCP event handler" as source
participant "Service Bluetooth" as bt
participant "Service Audio" as audio
participant "Application music player" as app 


User -> sink : Play button pressed
sink -> source : AVRCP event play 
source -> bt : Event play message
bt -> audio : Stream resume message
==Handle play message==
hnote over audio
    Resume stream
endhnote
== ==
audio -> app : Audio resumed
app -> User : Show state playing

@enduml