summaryrefslogtreecommitdiffstats
path: root/alsa-hook
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-hook')
-rw-r--r--alsa-hook/README.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/alsa-hook/README.md b/alsa-hook/README.md
index a51ec19..f6cc9a3 100644
--- a/alsa-hook/README.md
+++ b/alsa-hook/README.md
@@ -128,7 +128,7 @@ pcm.Multimedia {
verbose true
# uri to audio-4a policy engine
- uri="unix:/var/tmp/pol4a"
+ uri="unix:/var/tmp/ahl-4a"
# timeout in ms (default 500)
timeout 5000
@@ -138,20 +138,20 @@ pcm.Multimedia {
# api subcall to request a role
request {
- multimedia-role "{'uid':'alsa-hook-client'}"
- signal-timeout "{'timeout':180, 'music':'quit'}"
+ open_stream "{'role': 'entertainment'}"
+ set-stream "{'role': 'entertainment'}"
}
# api subcall to request a role
release {
- release-role "{'uid':'alsa-hook-client'}"
+ close-stream "{'role': 'entertainment'}"
}
# map AGL event on Unix signal. Search in event for json key=value
events {
- sig-02 {search music, value quit}
- sig-31 {search event, value start}
- sig-32 {search event, value start}
+ sig-02 {search state_event, value 1}
+ sig-31 {search state_event, value 2}
+ sig-32 {search state_event, value 3}
}
}
}