summaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-example
AgeCommit message (Collapse)AuthorFilesLines
2019-10-17Correct hal-4a-example.jsonJonathan Aillet1-1/+1
Correct hal-4a-example.json in section creating custom ALSA control linked to an afb api/verb call. BUG-AGL: SPEC-2884 Change-Id: I273c5b3f326ee3b1531426738045a1391fa727f2 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-08-12Move ping function in 4a-hal-utilitiesJonathan Aillet2-14/+0
Move ping function in 4a-utilities and register it as verb into 4a-hal-manager and into each created 4a-hal-*. Updates 4a-hal json configuration files to match these modifications. BUG-AGL: SPEC-2733 Change-Id: If93a31296206923860262b225a8c7e0e8a6fd521 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-07-31Add an example json configurationJonathan Aillet1-0/+272
Add an example json configuration files to show how to write "haldependencies" and "halmap" sections. BUG-AGL: SPEC-2683 Change-Id: I3642677ec6aae6144d2e30dc3f3680ebf473dccf Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-06-26Use haldependencies to process and handle halmapJonathan Aillet1-32/+43
Use haldependencies section definition to process and to handle halmap section. That means that each 'halmap' control can use its own probed audio device card number using a targeted dependencies. Also, change halmap section definition to be able to handle several halmap defined with the same dependencies. Update example hal to match new json file format. BUG-AGL: SPEC-2329 Change-Id: I31997a037ee8f0e727e0a67866d651b988b85260 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-05-24Remove obsolete links to softmixer controlsJonathan Aillet1-17/+0
Remove obsolete links to playbacks/captures softmixer controls. These links are not used anymore (only 'halmap' controls are used). It also means that references to controls in 'halmixer' section of json configuration files must be removed (as it's done for example json configuration file in this commit). BUG-AGL : SPEC-2329 Change-Id: Ic5a7f055d09b44021d817c04d56023fed3c0e478 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-12-20Adds support for bluetooth audio through bluez-alsaguppy_6.99.4guppy_6.99.3guppy/6.99.4guppy/6.99.36.99.46.99.3Thierry Bultel1-5/+12
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. Change-Id: I36037a4f14ef7fee38070fc0df66c40b4ce46e8b Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-12-18Move hal configuration files into 4a-hal-configs repositoryJan-Simon Möller1-0/+222
The configuration files should not be shipped with the sources. Therefore we created a 4a-hal-configs repository as the central place for configs. Move the configs there but leave and example in 4a-hal-cfg-example. Bug-AGL: SPEC-2011 Change-Id: If3bed9a05955b9c6458656fabbe3ee12d1c5015b Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>