summaryrefslogtreecommitdiffstats
path: root/conf.d
AgeCommit message (Collapse)AuthorFilesLines
2019-02-10Add support for AVIRTMark Farrugia2-1/+45
Leverage the new AVIRT driver for a more secure, more dynamically configurable loopback sound driver. To use, replace the file smixer-4a-default.json with smixer-4a-avirt.json, at /usr/libexec/agl/smixer/etc The existing snd-aloop configuration is not broken by this change. The submodule libavirt is temporary, and will be transformed into a library. Change-Id: I827636656c109a7393ad77997e05069a2462ea46 Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
2018-12-04Move autobuild to top treeFrederic Marec2-134/+0
Bug-AGL: SPEC-495 Change-Id: I1c051997697c3c04c4b8e7ca4669b7052c5713ad Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-12-04Add tests for 4a-softmixerFrederic Marec1-0/+60
Add test tree Add new config for test Add tests for softmixer Add script to load snd-aloop before test Bug-AGL: SPEC-1796 Change-Id: I6336dbb5689e7baf8f2e8754b23f6aa83b0797d7 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-07config.cmake: fixed a typoThierry Bultel1-1/+1
remoce extra parenthesis Change-Id: Ieeb5ca1a9064d97c9674dc855dc79aab36cadf3e Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-10-31Migrate app-templates to CMake moduleapp-templates-migrationRomain Forlot2-9/+12
Bug-AGL SPEC-1682 Change-Id: Ia8d8bc6b614065d9cc9ab73a33d4643267686bcf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-09-20removed the dependency to alsalib-1.1.6 for hostThierry Bultel5-2/+4
This fixes the compilation for hosts (Ubuntu, fedora, opensuse), that do not have alsalib-1.1.6 Notice that this fix needed another one in app-template, since the OS detection was broken. These are the changes brought by the bump of app-templates: (3dc85ec - Thierry Bultel) common.cmake: fixed erroneous search path for os-release (7fa5e5a - Romain Forlot) Fix: missing gcov symbol in compiled binaries (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget Change-Id: I788d8d0bf110dd9cdc11aac256bd535db0d90e4d Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-09-12config.cmake: bump the needed version of alsalib to 1.1.6Thierry Bultel1-1/+1
It was kwown that the softmixer needs alsalib >= 1.1.6, for runtime reasons. Since the integration of bluetooth support, there is now also a compile error with older alsalib. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-08-31Added bluez sound playback supportThierry Bultel1-1/+1
This adds sound playback for incoming sound from connected bluetooth devices. In this version, the softmixer relies on a modified bluez-alsa version (https://github.com/iotbzh/bluez-alsa), that provides an ioplug PCM bluezalsa connection proxy. The softmixer api has a new verb to dynamically set the device to listen to: afb-client-demo ws://localhost:1234/api?token=\uuid=123 smixer bluezalsa_dev '{"interface":"hci0", "device":"F6:32:15:2A:80:70", "profile":"a2dp"}' In this way it is possible to switch from a bluezalsa audio source to another without any further configuration. For now, only interface hci0 is supported. This commit also migrates the softmixer binding to API v3 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-08-01Bump revisions for all submodulesStephane Desneux1-0/+0
Changes for app-afb-helpers-submodule: * f0ce5b6 wrap-json: Fix duplicated lines in header file * 764c355 Add '@' as binder middle name separator. * 74be4cc Enhance 'wrap_json_clone_depth' description * a37225f Fix: use of GetBindingDirPath without dynapi * 4f99d16 Retrieve directory list from environment variables * f46a0dc Remove the file .gitmodules Changes for app-controller-submodule: * 4e30eb1 New defaults useful functions on lua table * 61cbc9a More precise log message when loading a Lua file * 535df7f Fix: wrong legacy function signature * b79a761 Split loading JSON controller file. * c3d7de2 Release arguments once C function returned. * a58d83b Fix : typo introduced in a previous commit. * 86f65bd Fixed character counting that was shortening paths * e32d98c Keep json unmodified during action execution * 88892db Use prefix variable to find controller's plugins Changes for app-templates: * 9c1a0fb Fix: interpreted '&' character * 9202fac More accurate comment about widget template file. * f94e45e Align sample on actual default compile options * d0acc2a Add support to binding version 3. * 6fb3846 Warning if not using wgtpkg-pack to make a widget * 35f3af1 Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var * 332f377 Be able to overwrite BUILD_TYPE using CLI * 1ec7531 Use CACHE variable for other common CMAKE variable * 0880356 Fix:: wrong wgt using RELEASE BUILD TYPE Change-Id: If6597632b9f719fcfd476697d1fd2332742d9801 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-07-05Use latest version of app-templates submodule.Thierry Bultel1-0/+0
Changes of app-templates: (eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test. (291aa4e - Romain Forlot) Change the default debug compilation options. (22a2cbf - Romain Forlot) Clearer coverage compilation options configuration (aa68dbd - Romain Forlot) Don't overwrite the autobuild script if it exists (a13e7b9 - Romain Forlot) Disable the in-tree build method. (51026d2 - Romain Forlot) Detect Yocto as OS distribution (1f2944e - Romain Forlot) Fix: wrong compile options added (92646f6 - Romain Forlot) Fallback using zip format if no wgtpkg-pack found (f65761c - José Bollo) 02-variables.cmake: Avoid checking CXX version if not required (3965d37 - José Bollo) config.cmake.sample: Remove dependency to libsystemd (a45ae0c - José Bollo) config.cmake.sample: Remove dependency to libmicrohttpd (9b17efe - Thierry Bultel) Added -D_FORTIFY_SOURCE=2 to CFLAGS Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-07-03Uses the APIv3 compatibility to vdynThierry Bultel1-1/+1
Uses the new compatibility for vdyn based on V3 Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-14smixer-4a-default.json: add target runtime path for plugin lookupStephane Desneux1-1/+1
Change-Id: I760e1a1b30db924babe5def22c8984719c607d1b Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-14config.cmake: adjust paths (CONTROL_*_PATH)Stephane Desneux1-3/+3
At runtime, the controller should search paths inside ${CMAKE_INSTALL_PREFIX}/${PROJECt_NAME}, typically: /usr/libexec/agl/smixer Change-Id: I499cdc068d663797568e64b904c4f4b4e5a07c32 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2018-06-13Minor changes in 4a mixer default configurationJonathan Aillet1-2/+2
Minor changes in 4a mixer default configuration tu authorise more volume ramps. Change-Id: If02e11cafc752ea8d83aa0817d6007a55f18f908 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-13Revert "bump app-templates to lastest version"Jonathan Aillet1-0/+0
This reverts commit 02124becdcda965757d84bdb180bbef2e0e6baaa.
2018-06-12bump app-templates to lastest versionThierry Bultel1-0/+0
Changes of app-templates: (9b17efe - Thierry Bultel) Added -D_FORTIFY_SOURCE=2 to CFLAGS Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-11Autorize direct zone to point on sndcardfulup4-425/+44
2018-06-10Add default configuration of softmmixerJonathan Aillet1-0/+55
Add default configuration of softmmixer when using in 4a. Change-Id: I53df4f57b8f77366117c32e1f4ff70d83253fdef Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-10Move cmake install prefixJonathan Aillet2-2/+2
Move cmake install prefix from config.cmake to distrib osconfig.cmake. Change-Id: I0e89e9b2a63941eced787ccd77313e441b0132f8 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-10Change afb binding versionJonathan Aillet1-1/+1
Change afb binding version to avoid compilation warnings. Change-Id: Ia8c8d8b5da04fba397a8e1e0879c433607e237d9 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-06-10Added stream/ramp return to fit HAL attach requestfulup1-0/+2
2018-06-10Cleanup and added return of previous volume when setting new valuefulup3-67/+66
2018-06-07Added more configuration examplesThierry Bultel3-1/+485
Added lua file for the simple 'radio + USB 2ch output' test case. Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-07Added log for card lookup diagnosticThierry Bultel1-0/+0
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-07renamed project name, and added lua dependencyThierry Bultel1-1/+2
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
2018-06-06Move smixer API create+attach into controller onload sectionfulup3-33/+21
2018-06-05Added per sink/source API for master controlfulup1-0/+3
2018-06-05Update info command and move HTML5 to new APIfulup4-134/+18
2018-06-04Rename project to smixer-4aThierry Bultel1-1/+1
Changed the project name, and renamed the default config file accordingly to solve the search issues when using the development launcher
2018-06-04Update to new submodulesFulup Ar Foll1-0/+0
2018-06-04Move to Dynamic Mixer API (work in progress)Fulup Ar Foll4-63/+160
2018-05-18Update to last controller fixFulup Ar Foll2-1/+1
2018-05-18Added create/close mixer APIFulup Ar Foll2-69/+150
2018-05-18Implements volume rampingFulup Ar Foll2-10/+31
2018-05-18Added relative volume setting per audio-streamFulup Ar Foll1-0/+3
2018-05-17Implemented sub API for stream with volume/pause/toggle/...Fulup Ar Foll2-3/+4
2018-05-17Initial version with dynamic APIsFulup Ar Foll4-112/+106
2018-05-17Cleanup soft vol control creationFulup Ar Foll2-226/+3
2018-05-16Move to new config syntaxfulup3-17/+12
2018-05-15Update to last submodule helpersfulup1-0/+0
2018-05-14Move to new Romain controller versionfulup6-373/+54
2018-05-14Fix temporary app-template os detection failurefulup2-1/+2
Signed-off-by: fulup <fulup.arfoll@iot.bzh>
2018-05-14Update submodulesfulup1-0/+0
Signed-off-by: fulup <fulup.arfoll@iot.bzh>
2018-05-14Documentation and simple config for one cardfulup1-0/+192
2018-05-13First testable version.Fulup Ar Foll4-35/+209
Mixing with volume and mute per audio role works.
2018-05-13First version muxing multiple audio streams.Fulup Ar Foll1-4/+5
2018-05-13Initial version with softvol,Route,Multi,DmixFulup Ar Foll4-26/+231
2018-05-11Initial version with softvol control and DMIXFulup Ar Foll1-1/+3
2018-05-08Fist AlsaLoop model playing music (work in progress)Fulup Ar Foll5-29/+40
2018-04-30On going effort, now load and support LUA+C pluginFulup Ar Foll12-8/+653