summaryrefslogtreecommitdiffstats
path: root/devices/hal-4a-unicens-utp.json
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2019-02-12 16:42:23 +0100
committerTobias Jahnke <tobias.jahnke@microchip.com>2019-02-12 16:48:34 +0100
commit005877c18ce07b4c982fbba40058a3707d2d1126 (patch)
tree7c52031b343d842e4ce454ffbae8f882e2e61e0d /devices/hal-4a-unicens-utp.json
parent23bc19d556dd69eb085c6274dd22519f48e608c1 (diff)
4a-hal-configs: update unicens configs
Bug-AGL: SPEC-2173 - updates plugin names to unicens-output and unicens-input - adds new ramps as used by greenbox - adds simple-microphone Change-Id: Ib910b291174b4e6737a346fe2d2dd1827232bff9 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com>
Diffstat (limited to 'devices/hal-4a-unicens-utp.json')
-rw-r--r--devices/hal-4a-unicens-utp.json58
1 files changed, 45 insertions, 13 deletions
diff --git a/devices/hal-4a-unicens-utp.json b/devices/hal-4a-unicens-utp.json
index db04b5b..8d9b522 100644
--- a/devices/hal-4a-unicens-utp.json
+++ b/devices/hal-4a-unicens-utp.json
@@ -11,30 +11,29 @@
},
"resources": [
{
- "uid": "hal-unicens",
- "info": "UNICENS HAL plugin",
+ "uid": "hal-unicens-output",
+ "info": "UNICENS HAL plugin for output audio",
"spath": "./package/lib/plugins:./package/var:./lib/plugins:./var:/usr/libexec/agl/4a-hal",
- "libs": ["hal-unicens.ctlso"]
+ "libs": ["hal-unicens-output.ctlso"]
+ },
+ {
+ "uid": "hal-unicens-md-input",
+ "info": "UNICENS HAL plugin for input multi-directional microphone",
+ "spath": "./package/lib/plugins:./package/var:./lib/plugins:./var:/usr/libexec/agl/4a-hal",
+ "libs": ["hal-unicens-md-input.ctlso"]
}
],
"onload": [
{
"uid": "init-audio-hal",
"info": "Init current HAL",
- "action": "plugin://hal-unicens#Init"
- }
- ],
- "controls": [
- {
- "uid": "ping",
- "info": "Ping hal",
- "action": "api://4a-hal-manager#ping"
+ "action": "plugin://hal-unicens-output#Init"
}
],
"events": [
{
"uid": "UNICENS/node-availibility",
- "action": "plugin://hal-unicens#Events"
+ "action": "plugin://hal-unicens-output#Events"
}
],
"halmap": [
@@ -53,7 +52,7 @@
"step": 1
}
},
- "action": "plugin://hal-unicens#MasterVol"
+ "action": "plugin://hal-unicens-output#MasterVol"
}
],
"halmixer": {
@@ -62,6 +61,12 @@
"prefix": "ucs",
"ramps": [
{
+ "uid": "ramp-very-fast",
+ "delay": 50,
+ "up": 6,
+ "down": 10
+ },
+ {
"uid": "ramp-fast",
"delay": 50,
"up": 2,
@@ -75,6 +80,12 @@
},
{
"uid": "ramp-slow",
+ "delay": 50,
+ "up": 2,
+ "down": 2
+ },
+ {
+ "uid": "ramp-very-slow",
"delay": 100,
"up": 1,
"down": 1
@@ -116,6 +127,27 @@
]
}
},
+ "captures": [
+ {
+ "uid": "MOST_MIC_EP822CH",
+ "cardid": "hw:ep822ch",
+ "params": {
+ "rate": 48000
+ },
+ "source": {
+ "channels": [
+ {
+ "uid": "mic-right",
+ "port": 0
+ },
+ {
+ "uid": "mic-left",
+ "port": 1
+ }
+ ]
+ }
+ }
+ ],
"zones": [
{
"uid": "full-stereo",