Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Enrich 'halmixer' section with bluetooth specific 'source' and 'stream'
during hal-bt plugin initialization.
Some parameters must be passed to plugin using 'params' key in controller
json plugin section.
This allows to get rid of must of the additional configuration when using
bluetooth in a hal.
Change-Id: I5820e75307a3394eca80cf783e7bc4c31c2d7659
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Added the 'radio_stream' to all the HALs. This makes the radio role
work in HighLevelAPI.
Change-Id: I8f34224ec3dbbb1312b65642d89e672716414ac9
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
There was no point to have 2 separate HALs, the radio
stream and capture is now merged into the main HAL
Change-Id: I0ba974fdcfc17fc9a3964677361dd7509c7e74b3
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Add controller events/onloads actions needed by Hal-Bt plugin in
plugin initialization ('CTLP_INIT').
Therefore, these actions can be reomved from json files.
Change-Id: I67391abfc7d3fd0f8b9d4fbd0fe8698497da1393
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Add hal json configuration files with bluetooth plugin specified
for reference boards.
Change-Id: I16055c45b5f59aa192b5948cece1ff8a73edf5a8
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
The plugin search paths are not needed because the default
(hard-coded) search paths are good.
Change-Id: Ibe286219ff9af535cb104e9a7a81e0a8d6479f4a
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
In hal bluetooth plugin, implement all call to softmixer used to
enable/disable bluetooth stream and to set bt streamed device.
Change-Id: I16f6fbf6a02f34490876d390883bdd040661647e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Now specifies the device, in addition of the card path.
Also fixes the volume control name that has changed on
the board for some reason.
Change-Id: Ibb217c834addcb8f51195cfec75779928ae61a91
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Add first version of a hal plugin that will handle hal that
wants bluetooth as an audio device.
Change-Id: I4f5628ef9688c417b1b443fc3c4948cb23c17214
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct 'volume' control in Minnowboard hal.
Change-Id: Ib9b08aec5d4ead4258510544e7a8decf0ae3f65a
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Remove trailing white spaces in radio configuration file.
Normalize indentation in radio configuration json file.
Change-Id: I4590fec9653ecd1fa0e8f4c7366827ad60326e3c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
This files is an example on how to make the softmixer
directly read from a capture device.
In that particular example, the capture is the radio
capture of the kingfisher board, and the playback is
the ak4613 codecs.
The stream rate and format must match the capture capablities.
Change-Id: Id9796f73299a83822bb80878db6517cadf8001b6
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Add hal for intel qemu audio configuration since QEMU '/dev/snd/...'
entry is not the same for a qemu audio device than for
generic intel device.
Bug-AGL: SPEC-1558
Change-Id: Id258a649811c603d7973e48f8bcbd81500e9a5fa
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
All hal that shouldn't be enable for the target will be disable using
a recipe in yocto.
4a-hal-generic shouldn't take care of enabling/disabling hals.
Change-Id: I38363fb7933ed73d7a4e855949ae9dd521db2862
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct audio configurations for the following Rcar boards :
- M3
- M3/Kingfisher
Change-Id: Ie68be0385fb978b44dea4ce2afd4e9fdc0c8c45c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Disable community hals by default.
Also move some hals from reference configurations directory to community
configurations directory.
Add prefixes to all hal for mixer attach.
Change-Id: Ib1f74c313dbc4596457f9535d3e593a7019b55fa
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Update Kingfisher json configuration files to avoid confilcts with regular
m3 json configuration file.
Change-Id: I8b9425065dc273fc8e66a1f4c5822c93168b183c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
When M3 board is plugged on Kingfisher board, the internal M3
card is not reachable with the same device name, due to changes
in the DTB.
The added file hal-4a-rcar-m3kf.json is thus a copy of
hal-4a-rcar-m3.json where
'/dev/snd/by-path/platform-sound'
has been replaced by
'/dev/snd/by-path/platform-sound@1' (<- '@1' at the end)
Change-Id: I44c07ee83b3d884fb52a28f6ed1418765a0a0816
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Add some audio json configration files inspired from hal available in
'4a-hal-reference' and '4a-hal-community'.
Each one of these files are meant to be be a reproduction of old hal
using the new 4a-hal implementation.
List of hal added :
- Rcar M3
- Intel Minnowboard
- 2ch generic usb
- Intel
- Jabra solemate
- Ensoniq
Change-Id: I6bac5ed1e6d4ab72975427a9a2343851f874df79
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Update USB json configuration files and README.
Change-Id: Ib217da9189fd928e0842bf8da85a362c1423080e
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Now, the configuration files should be into these 2 directories :
- 4a-hal-cfg-community/
- 4a-hal-cfg-reference/
A configuration file has been added for 'CSL CM106 8ch USB' audio device
in community directory.
The test configuration files has been removed.
The README.md has been updated accordingly to these modifications.
Change-Id: I03d197a534b2a36bacea8e09d3098b5b92c8d3b7
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|