summaryrefslogtreecommitdiffstats
path: root/4a-hal-cfg-community
AgeCommit message (Collapse)AuthorFilesLines
2018-10-08hal-bt: Enrich 'halmixer' section in plugin initJonathan Aillet6-0/+66
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>
2018-10-08Remove unnecessary sections in hal jsonJonathan Aillet2-14/+0
Remove unnecessary 'onload' and 'events' sections in hal json configuration files. The specified onload actions were generating errors in some cases. Change-Id: I5eb95fe7daecf3b3d15638833142d133ce77e1ff Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Added radio stream to all the HALsThierry Bultel6-0/+61
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>
2018-10-08hal-4a-raspberry-pi-3: add a WARNING related to RPI3 sound driver bugStephane Desneux1-1/+1
Bug-AGL: SPEC-1610 Change-Id: I331bd239e8394025367d25c3e51da4c64a16abab Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-10-08Add Raspberry Pi 3 HALJonathan Aillet1-0/+178
Add Raspberry Pi 3 HAL into community references hal directory. Change-Id: I86291d46fc4c0455069f5c8839c117b3617c5dde Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Don't handle hal enablingJonathan Aillet6-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-08Disable community hals by defaultJonathan Aillet6-10/+414
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-08Add Hal (audio json configration files)Jonathan Aillet2-0/+398
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 Aillet1-1/+1
Update USB json configuration files and README. Change-Id: Ib217da9189fd928e0842bf8da85a362c1423080e Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Updates json controller configuration filesJonathan Aillet1-5/+4
Change stream uid to simplify search. Remove the prefix as it won't be used (for now). Change-Id: Ieafc53f51458648860334ac3a4fb641446d8639f Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Update 4a-hal to work with new 4a-softmixerJonathan Aillet1-87/+168
Update 4a-hal to work with new 4a-softmixer version : - Update audio configuration files to match the configuration format expected by the mixer. - Parse mixer attach response to get information about 'streams', 'playbacks', and 'captures'. store them in new field of controller hal data structure. - Create verb for each returned stream, but only one playback/capture verb even if threre are multiple playbacks/captures returned by the mixer attch verb. - Return 'streams', 'playbacks', and 'captures' when info verb is called. - If info verb is called with a json request, the request is transfered to the mixer. Change-Id: I65593281c34aa91ad87afbf8bebff755cc5cc6d0 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-10-08Remove test cfg files and add community cfg fileJonathan Aillet2-0/+232
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>