diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-09-19 12:23:59 +0200 |
---|---|---|
committer | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-10-08 15:57:27 +0200 |
commit | 04bb36a2bf5eac8d605c9e63b5cc9c1cf79be905 (patch) | |
tree | cd1bb95ecc7afadcbfa892312cf2701e7f958be0 /4a-hal-cfg-community | |
parent | e1b9634b554d91012edef2a564a9dcfb25cae503 (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')
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-2ch-generic-usb.json | 11 | ||||
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json | 11 | ||||
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-ensoniq.json | 11 | ||||
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-intel.json | 11 | ||||
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-jabra.json | 11 | ||||
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-raspberry-pi-3.json | 11 |
6 files changed, 66 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", diff --git a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json b/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json index 61f9667..09bfcfa 100644 --- a/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json +++ b/4a-hal-cfg-community/hal-4a-csl-cm106-8ch-usb.json @@ -9,6 +9,17 @@ "author": "Jonathan Aillet", "date": "2018-06-09" }, + "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", diff --git a/4a-hal-cfg-community/hal-4a-ensoniq.json b/4a-hal-cfg-community/hal-4a-ensoniq.json index 4bc63ba..7d1dc80 100644 --- a/4a-hal-cfg-community/hal-4a-ensoniq.json +++ b/4a-hal-cfg-community/hal-4a-ensoniq.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", diff --git a/4a-hal-cfg-community/hal-4a-intel.json b/4a-hal-cfg-community/hal-4a-intel.json index f070c8b..1e27896 100644 --- a/4a-hal-cfg-community/hal-4a-intel.json +++ b/4a-hal-cfg-community/hal-4a-intel.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", diff --git a/4a-hal-cfg-community/hal-4a-jabra.json b/4a-hal-cfg-community/hal-4a-jabra.json index 64a245e..d9879d4 100644 --- a/4a-hal-cfg-community/hal-4a-jabra.json +++ b/4a-hal-cfg-community/hal-4a-jabra.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", diff --git a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json b/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json index 65c134a..86be677 100644 --- a/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json +++ b/4a-hal-cfg-community/hal-4a-raspberry-pi-3.json @@ -9,6 +9,17 @@ "author": "Jonathan Aillet", "date": "2018-07-20" }, + "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", |