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-community/hal-4a-intel-upsquared-hdmi.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-community/hal-4a-intel-upsquared-hdmi.json')
-rw-r--r-- | 4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json b/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json index 8597489..6cc1cf7 100644 --- a/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json +++ b/4a-hal-cfg-community/hal-4a-intel-upsquared-hdmi.json @@ -11,13 +11,20 @@ }, "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": "INTEL-UPSQUARED-HDMI", + "zone": "full-stereo", + "delayms": 800 + }, + "a2dp": { + "zone": "full-stereo", + "delayms": 500 + } }, - "libs": ["hal-bt.ctlso"] + "libs": ["hal-bluealsa.ctlso"] } ], "controls": [ |