mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-28 05:40:23 -04:00
20 lines
421 B
Text
20 lines
421 B
Text
|
|
@startuml
|
||
|
|
title "UCM volume"
|
||
|
|
|
||
|
|
start
|
||
|
|
if (Card state (/var/lib/alsa/asound.state)) then (not present)
|
||
|
|
:UCM: BootSequence;
|
||
|
|
else (present)
|
||
|
|
:alsactl: Restore state (from asound.state);
|
||
|
|
endif
|
||
|
|
:UCM application:set device volume;
|
||
|
|
note right
|
||
|
|
The application uses (Playback|Capture)MixerElem or
|
||
|
|
(Playback/Capture)(Volume/Switch) values to get
|
||
|
|
the controls.
|
||
|
|
end note
|
||
|
|
:alsactl: Store state (to asound.state);
|
||
|
|
stop
|
||
|
|
|
||
|
|
@enduml
|