diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-12-05 14:05:10 +0100 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-12-12 22:01:30 +0100 |
commit | b2588f97269799bdcbc6253286ffaa28d5d7aeff (patch) | |
tree | f81f6fe6523d9c389f1ef4e7bc44fb127a323a41 /4a-hal-cfg-reference/hal-4a-rcar-m3kf.json | |
parent | 4b299e632148205bb27c9c4a4d6dd779d466ff37 (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-m3kf.json')
-rw-r--r-- | 4a-hal-cfg-reference/hal-4a-rcar-m3kf.json | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json b/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json index d374fcf..a897d47 100644 --- a/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json +++ b/4a-hal-cfg-reference/hal-4a-rcar-m3kf.json @@ -10,14 +10,21 @@ "date": "2018-06-15" }, "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": [ |