summaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-09-19 12:23:59 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:57:27 +0200
commit04bb36a2bf5eac8d605c9e63b5cc9c1cf79be905 (patch)
treecd1bb95ecc7afadcbfa892312cf2701e7f958be0 /4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
parente1b9634b554d91012edef2a564a9dcfb25cae503 (diff)
hal-bt: Enrich 'halmixer' section in plugin init
Enrich 'halmixer' section with bluetooth specific 'source' and 'stream' during hal-bt plugin initialization. Some parameters must be passed to plugin using 'params' key in controller json plugin section. This allows to get rid of must of the additional configuration when using bluetooth in a hal. Change-Id: I5820e75307a3394eca80cf783e7bc4c31c2d7659 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to '4a-hal-cfg-community/hal-4a-2ch-generic-usb.json')
-rw-r--r--4a-hal-cfg-community/hal-4a-2ch-generic-usb.json11
1 files changed, 11 insertions, 0 deletions
diff --git a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json b/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
index 34820b8..efc59e3 100644
--- a/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
+++ b/4a-hal-cfg-community/hal-4a-2ch-generic-usb.json
@@ -9,6 +9,17 @@
"author": "Jonathan Aillet",
"date": "2018-06-13"
},
+ "resources": [
+ {
+ "uid": "hal-bt",
+ "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
+ "params": {
+ "channels": 2,
+ "zone": "front-seats"
+ },
+ "libs": ["hal-bt.ctlso"]
+ }
+ ],
"controls": [
{
"uid": "ping",