aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-06-01 22:31:21 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commit4c49eec1e5273e84038c3ed140109420dbb4e5d1 (patch)
treee39f0548323573b6db051960eb4e77cc8b118835
parent509c14ede44b5d95f5ecc7d1e78a2c54609688e4 (diff)
Updates json controller configuration file
Change json configration file to work with the specified device. Change-Id: I1cd8376f3968e08c7b46d7824fe986355a072f73 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--4a-hal-references-boards-cfg/hal-4a-jon-office-usb-headset.json32
1 files changed, 21 insertions, 11 deletions
diff --git a/4a-hal-references-boards-cfg/hal-4a-jon-office-usb-headset.json b/4a-hal-references-boards-cfg/hal-4a-jon-office-usb-headset.json
index 31db610..71d6c42 100644
--- a/4a-hal-references-boards-cfg/hal-4a-jon-office-usb-headset.json
+++ b/4a-hal-references-boards-cfg/hal-4a-jon-office-usb-headset.json
@@ -70,13 +70,16 @@
"uid": "front-left",
"port": 1
}
- ]
+ ],
+ "params": {
+ "rate": 44100
+ }
},
"frontend" : {
"uid": "Alsa-Loop",
"devpath": "/dev/snd/by-path/platform-snd_aloop.0",
"params": {
- "rate": 48000,
+ "rate": 44100
},
"ramps": [
{
@@ -98,12 +101,10 @@
"down": 2
}
],
- "devices": [
- {
- "playback": 0,
- "capture": 1
- }
- ],
+ "devices": {
+ "playback": 0,
+ "capture": 1
+ },
"subdevs": [
{
"subdev": 0,
@@ -161,21 +162,30 @@
"zone": "front-seats",
"ramp": "ramp-slow",
"volume": 60,
- "mute": false
+ "mute": false,
+ "params": {
+ "rate": 44100
+ }
},
{
"uid": "navigation",
"zone": "front-seats",
"ramp": "ramp-normal",
"volume": 70,
- "mute": false
+ "mute": false,
+ "params": {
+ "rate": 44100
+ }
},
{
"uid": "emergency",
"zone": "front-seats",
"ramp": "ramp-fast",
"volume": 80,
- "mute": false
+ "mute": false,
+ "params": {
+ "rate": 44100
+ }
}
]
}