aboutsummaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-reference/hal-4a-rcar-m3.json
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-12-05 14:05:10 +0100
committerThierry Bultel <thierry.bultel@iot.bzh>2018-12-12 22:01:30 +0100
commitb2588f97269799bdcbc6253286ffaa28d5d7aeff (patch)
treef81f6fe6523d9c389f1ef4e7bc44fb127a323a41 /4a-hal-cfg-reference/hal-4a-rcar-m3.json
parent4b299e632148205bb27c9c4a4d6dd779d466ff37 (diff)
Adds support for bluetooth audio through bluez-alsasandbox/tbultel/bluealsa
Implements a new bluealsa plugin to the HAL manager, reacting to the changes of the available transports. This plugin is linked with the new bluealsa.so shared library. New transports (SCO & A2DP) result in softmixer invocations of the "attach" verb, that creates the new capture (eg, A2DP capture from bluealsa ioplug PCM, SCO microphone capture), playbacks (SCO playback to a softmixer zone, and SCO output to bluealsa iogplug PCM). When a transport disappears, the hal manager calls the transaction deletion verb that will tell the softmixer to remove the created streams and associated objects. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to '4a-hal-cfg-reference/hal-4a-rcar-m3.json')
-rw-r--r--4a-hal-cfg-reference/hal-4a-rcar-m3.json19
1 files changed, 13 insertions, 6 deletions
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3.json b/4a-hal-cfg-reference/hal-4a-rcar-m3.json
index 5644262..5df9bd6 100644
--- a/4a-hal-cfg-reference/hal-4a-rcar-m3.json
+++ b/4a-hal-cfg-reference/hal-4a-rcar-m3.json
@@ -10,14 +10,21 @@
"date": "2018-06-13"
},
"resources": [
- {
- "uid": "hal-bt",
- "info": "Bluetooth hal plugin to get A2DP bluetooth device as an input by tweaking softmixer configuration",
+ {
+ "uid": "hal-bluealsa",
+ "info": "Bluealsa hal plugin",
"params": {
- "channels": 2,
- "zone": "front-seats"
+ "sco": {
+ "mic": "RCAR-M3",
+ "zone": "full-stereo",
+ "delayms": 200
+ },
+ "a2dp": {
+ "zone": "full-stereo",
+ "delayms": 1000
+ }
},
- "libs": ["hal-bt.ctlso"]
+ "libs": ["hal-bluealsa.ctlso"]
}
],
"controls": [