From 04bb36a2bf5eac8d605c9e63b5cc9c1cf79be905 Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Wed, 19 Sep 2018 12:23:59 +0200 Subject: 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 --- 4a-hal-cfg-community/hal-4a-2ch-generic-usb.json | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '4a-hal-cfg-community/hal-4a-2ch-generic-usb.json') 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", -- cgit 1.2.3-korg