summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2016-07-08 17:18:32 +0200
committerYannick Gicquel <yannick.gicquel@iot.bzh>2016-10-11 17:09:07 +0200
commit2c95aab7722e52f53875b5b49c13330271dc4113 (patch)
treecb5a0a1006b425e288f494b6172ad31e9b4fce0e
parent2de141b9a3145a4a8edf2e310adfa8d425637e53 (diff)
Add sample JSON configuration file
A JSON configuration file is now provided and installed by default. Change-Id: I7e0b2bfb1c618c9864cf71ee0a035b74b86930de Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
-rw-r--r--pulseaudio-agl.cfg41
1 files changed, 41 insertions, 0 deletions
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}
+],
+
+}}