summaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-reference
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08Implement link with softmixer in hal-bt pluginJonathan Aillet1-1/+35
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>
2018-10-08minnow board: fixed the pcm device in json configThierry Bultel1-2/+3
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>
2018-10-08Add bluetooth hal pluginJonathan Aillet1-0/+198
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>
2018-10-08Correct 'volume' control in Minnowboard halJonathan Aillet1-1/+1
Correct 'volume' control in Minnowboard hal. Change-Id: Ib9b08aec5d4ead4258510544e7a8decf0ae3f65a Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove trailing white spaces in radio config fileJonathan Aillet1-32/+31
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>
2018-10-08Added a radio to 2 channels playback .json exampleThierry Bultel1-0/+167
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>
2018-10-08Add hal for intel qemu audio configurationJonathan Aillet1-0/+193
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>
2018-10-08Don't handle hal enablingJonathan Aillet1-1/+1
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>
2018-10-08Correct audio configurations for Rcar boardsJonathan Aillet2-14/+24
Correct audio configurations for the following Rcar boards : - M3 - M3/Kingfisher Change-Id: Ie68be0385fb978b44dea4ce2afd4e9fdc0c8c45c Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Disable community hals by defaultJonathan Aillet4-400/+2
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>
2018-10-08Update Kingfisher json configuration filesJonathan Aillet1-1/+1
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>
2018-10-084a-hal-cfg-reference: add HAL definition for M3 on KingfisherStephane Desneux1-0/+199
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>
2018-10-08Add Hal (audio json configration files)Jonathan Aillet4-1/+580
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>
2018-10-08Update USB json configuration filesJonathan Aillet2-10/+198
Update USB json configuration files and README. Change-Id: Ib217da9189fd928e0842bf8da85a362c1423080e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove test cfg files and add community cfg fileJonathan Aillet1-0/+31
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>