diff options
Diffstat (limited to 'hook-plugin/README.md')
-rw-r--r-- | hook-plugin/README.md | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/hook-plugin/README.md b/hook-plugin/README.md index 4297498..3846e0b 100644 --- a/hook-plugin/README.md +++ b/hook-plugin/README.md @@ -54,7 +54,8 @@ pcm.Speakers { # ----------------------------------------------------- pcm_hook_type.CtlHookPlugin { install "AlsaInstallHook" - lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/hook-plugin/policy_hook_cb.so" + lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/hook-plugin/policy_hook_tcp.so" + #lib "/home/fulup/Workspace/Audio-4a/alsa-4a/build/hook-plugin/policy_hook_unix.so" } @@ -71,26 +72,6 @@ pcm.MusicPCM { control.name "Playback Multimedia" } -pcm.NavPCM { - type softvol - - # Point Slave on HOOK for policies control - slave.pcm "Speakers" - - # name should match with HAL definition - control.name "Playback Navigation" -} - -pcm.UrgentPCM { - type softvol - - # Point Slave on HOOK for policies control - slave.pcm "Speakers" - - # name should match with HAL definition - control.name "Playback Emergency" -} - # ---------------------------------------------------- # Define one hooked PCM channel per Audio Roles # ---------------------------------------------------- @@ -106,13 +87,14 @@ pcm.Multimedia { verbose true # uri to audio-4a policy engine - ws-client="unix:/var/tmp/pol4a" + uri="ws://localhost:1234/api?token='audio-agent-token'" + #ws-client="unix:/var/tmp/pol4a" # api subcall to request a role controls { # Request authorisation to write on navigation navigation-ctl { - request "navigation-role" + request "multimedia-role" release "release-role" args "{'uid':'alsa-hook-navigation'}" } |