From 22c2c1435f4fe27af97cf0ed35cb0c28b13d8e6a Mon Sep 17 00:00:00 2001 From: Jonathan Aillet Date: Fri, 7 Sep 2018 18:41:02 +0200 Subject: Implement link with softmixer in hal-bt plugin In hal bluetooth plugin, implement all call to softmixer used to enable/disable bluetooth stream and to set bt streamed device. Change-Id: I16f6fbf6a02f34490876d390883bdd040661647e Signed-off-by: Jonathan Aillet --- 4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json | 36 ++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) (limited to '4a-hal-cfg-reference') diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json b/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json index c2483ce..c33609a 100644 --- a/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json +++ b/4a-hal-cfg-reference/hal-4a-rcar-m3-bt.json @@ -131,6 +131,27 @@ ] } }, + "captures": [ + { + "uid": "bluetooth", + "pcmplug_params": "bluealsa_proxy", + "params": { + "channels": 2 + }, + "source": { + "channels": [ + { + "uid": "bluetooth-right", + "port": 0 + }, + { + "uid": "bluetooth-left", + "port": 1 + } + ] + } + } + ], "zones": [ { "uid": "full-stereo", @@ -192,7 +213,20 @@ "rate": 48000, "format": "S16_LE" } + }, + { + "uid": "bluetooth_stream", + "verb": "bluetooth_stream", + "zone": "front-seats", + "source" : "bluetooth", + "volume": 85, + "mute": false, + "params": { + "rate" : 48000, + "format": "S16_LE", + "channels": 2 + } } ] } -} +} \ No newline at end of file -- cgit 1.2.3-korg