From 2c95aab7722e52f53875b5b49c13330271dc4113 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Fri, 8 Jul 2016 17:18:32 +0200 Subject: Add sample JSON configuration file A JSON configuration file is now provided and installed by default. Change-Id: I7e0b2bfb1c618c9864cf71ee0a035b74b86930de Signed-off-by: Manuel Bachmann --- pulseaudio-agl.cfg | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 pulseaudio-agl.cfg diff --git a/pulseaudio-agl.cfg b/pulseaudio-agl.cfg new file mode 100644 index 0000000..3d0a837 --- /dev/null +++ b/pulseaudio-agl.cfg @@ -0,0 +1,41 @@ +{"config": { + +"zones": ["driver", "passenger1", "passenger2", "passenger3", "passenger4" ], + +"rtgroups": [ + {"name":"Phone", + "type":"INPUT", + "card":"PhoneCard", + "accept_fct":"phone", + "effect_fct":"phone"}, + + {"name":"default", + "type":"INPUT", + "card":"pci"} +], + +"classmap": [ + {"class": "agl_phone", "zone":0, "type":"INPUT", "rtgroup":"Phone"}, + {"class": "agl_player", "zone":0, "type":"INPUT", "rtgroup":"default"}, + {"class": "agl_radio", "zone":0, "type":"INPUT", "rtgroup":"default"}, + {"class":"agl_navigator", "zone":0, "type":"INPUT", "rtgroup":"default"}, + {"class": "agl_event", "zone":0, "type":"INPUT", "rtgroup":"default"}, +], + +"typemap": [ + {"id":"phone", "type":"agl_phone"}, + {"id":"music", "type":"agl_player"}, + {"id":"radio", "type":"agl_radio"}, + {"id": "navi", "type":"agl_navigator"}, + {"id":"event", "type":"agl_event"}, +], + +"priormap": [ + {"class": "agl_event", "priority":5}, + {"class": "agl_phone", "priority":4}, + {"class":"agl_navigator", "priority":2}, + {"class": "agl_radio", "priority":1}, + {"class": "agl_player", "priority":1} +], + +}} -- cgit 1.2.3-korg