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/hal-4a-raspberry-pi-3.json | |
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/hal-4a-raspberry-pi-3.json')
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-raspberry-pi-3.json | 11 |
1 files changed, 11 insertions, 0 deletions
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", |