~aleteoryx/muditaos

ref: 57b8e02b288b05a1cffab4cfbb8e76cb49e310df muditaos/module-bluetooth/doc/bt_pause_audio_handling.puml -rw-r--r-- 515 bytes
57b8e02b — Paweł Joński [BH-1335] Correct alarm-knob state on turnon 3 years 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 : Pause button pressed
sink -> source : AVRCP event pause 
source -> bt : Event play message
bt -> audio : Stream pause message
==Handle pause message==
hnote over audio
    Pause stream
endhnote
== ==
audio -> app : Audio paused
app -> User : Show state paused

@enduml