summaryrefslogtreecommitdiffstats
path: root/community-boards/hal-4a-jabra.json
diff options
context:
space:
mode:
authorThierry Bultel <thierry.bultel@iot.bzh>2018-12-19 23:25:30 +0100
committerThierry Bultel <thierry.bultel@iot.bzh>2018-12-20 15:03:40 +0100
commitd6d98220643113701857f03c8534c412c8eeac33 (patch)
treefe0b5dc202461318a12a4fa48a1da7caa2628ead /community-boards/hal-4a-jabra.json
parent6fdd9c572f9dc9e1320351867a8e4c6ef9498370 (diff)
bluetooth audio: uses the new bluealsa pluginguppy_6.99.3guppy/6.99.36.99.3
Updated all the HALs to use the new bluealsa plugin, that dynamically creates and deletes audio streams upon bluetooth connections from mobile phones. The plugin parameters consists in 2 sections. The "sco" section is the place for voice calls. It is where to specify which microphone to use (this one must be declared in the captures devices), and to what zone to do the playback (that zone must be defined, too) The "a2dp" is for music playback. The only needed paramter is a playback zone. It can be different fromt the one used by SCO. Additionnally, both SCO and A2DP have a "delayms" parameter which is the size in milliseconds of the copy buffer for the audio stream. The values set in this commit are good enough for a demo, but can we optimized in the future. Change-Id: I1c5da69c0de01d5dfdf852fa58372410f22e2a56 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Diffstat (limited to 'community-boards/hal-4a-jabra.json')
-rw-r--r--community-boards/hal-4a-jabra.json17
1 files changed, 12 insertions, 5 deletions
diff --git a/community-boards/hal-4a-jabra.json b/community-boards/hal-4a-jabra.json
index a07d61d..1c63be4 100644
--- a/community-boards/hal-4a-jabra.json
+++ b/community-boards/hal-4a-jabra.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": "JABRA-SOLEMATE",
+ "zone": "full-stereo",
+ "delayms": 800
+ },
+ "a2dp": {
+ "zone": "full-stereo",
+ "delayms": 500
+ }
},
- "libs": ["hal-bt.ctlso"]
+ "libs": ["hal-bluealsa.ctlso"]
}
],
"controls": [