mirror of
https://github.com/openharmony/third_party_alsa-utils.git
synced 2026-07-01 09:15:56 -04:00
cfd50591d3
Signed-off-by: w30051647 <wangyikai14@h-partners.com>
14 lines
376 B
Plaintext
14 lines
376 B
Plaintext
#
|
|
# Note that two different ALSA card state management schemes exist and they
|
|
# can be switched using a file exist check - /etc/alsa/state-daemon.conf .
|
|
#
|
|
|
|
[Unit]
|
|
Description=Manage Sound Card State (restore and store)
|
|
ConditionPathExists=@daemonswitch@
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=-@sbindir@/alsactl -s -n 19 -c rdaemon
|
|
ExecStop=-@sbindir@/alsactl -s kill save_and_quit
|