summaryrefslogtreecommitdiffstats
path: root/alsa-hook/README.md
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-11-02 23:19:30 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-11-02 23:19:30 +0100
commiteac54aceceb2b465340fb6beb4ef635cb46d8237 (patch)
tree465774f0672558417039d866a18dbb2d8b2aec66 /alsa-hook/README.md
parent451d65660b62aa23e9d3083174153e9a5a068c5f (diff)
Fix double Close
Diffstat (limited to 'alsa-hook/README.md')
-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}
}
}
}