aboutsummaryrefslogtreecommitdiffstats
path: root/conf.d
AgeCommit message (Collapse)AuthorFilesLines
2019-10-01Add events when PCM availability changesJonathan Aillet1-0/+1
Add PCM availability application framework events to be notified when ALSA PCM availability changes. Use subscribe verb and json '{ "event" : "pcm", "name" : "hw:3,2,1", "stream" : 0 }' to subscribe to playback PCM 'hw:3,2,1' availability events. Use subscribe verb and json '{ "event" : "pcm", "name" : "hw:1,2,3", "stream" : 1 }'' to subscribe to capture PCM 'hw:1,2,3' availability events. from removed card events. To handle PCM events, inode notification (using inotify) is used on '/dev/snd/pcm*' file (e.g. '/dev/snd/pcmC0D0p') to monitor PCM availability. BUG-AGL: SPEC-2835 Change-Id: I5bfaef73b896fa7213e1308035eeaff1464f62f6 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-10-01Add a definition for subdevice maximumJonathan Aillet1-4/+5
Add a definition to define the maximum number of subdevices in an ALSA device. BUG-AGL: SPEC-2832 Change-Id: Id44d53252119319feb400f3b3fa59534392038af Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2019-02-19Rework ALSA card get info functionJonathan Aillet1-1/+3
Rework ALSA card get info function to : - Be able to probe an ALSA card depending on multiple parameters (card number, card path, card id, card short name, card long name, card driver, card mixer name, card components). If several parameters are requested, all should be true to find a corresponding card. - Be able to add parameters about a playback device depending on multiple parameters (device number, device id, device name). The combination of all card parameters and all device parameters should be true to find a corresponding card/device. - If a corresponding card/device is found, information about it will be returned as a json object. - If multiple card/device are corresponding to the request, all cards information will be returned in a json array. - If no request json is available, all cards information will be returned (using a json array). - Add the possibility to ask for multiple card/device in one verb call using a json array in request json. Each case will be handled as an individual request. The response will be an array of the same length as the request json, with each response case corresponding to the request case. Change-Id: Ia71e40ce10c8bb10d51099832748c5621d202647 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-11-22Move autobuild to top treeguppy_6.99.2guppy/6.99.26.99.2Frederic Marec2-134/+0
Bug-AGL: SPEC-495 Change-Id: I36d58dfb86a5b6e3bf4370931ec3fb8413febc51 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-22Add test for 4a-alsa-coreguppy_6.99.1guppy/6.99.16.99.1Frederic Marec1-1/+2
Add test tree Set API_NAME in conf.d/cmake/config.cmake Bug-AGL: SPEC-1796 Change-Id: I0065260549f3fc95b7e2c3c47036e775382139be Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-3/+6
Bug-AGL SPEC-1682 Change-Id: Ic4a8925d8be17ab6d53d18ca8abaf99ce348ded8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-07-20Use application framework binding v3guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.26.90.05.99.65.99.55.99.45.99.35.99.2Jonathan Aillet1-1/+1
Change binding version to use application framework v3. Change-Id: Ic54f5418396562c53e4712d14bd86ab4ca3e16df Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-20Set afb version in cmake instead of in headerJonathan Aillet1-0/+2
Set application framework binding version in cmake instead of setting it before including binding header. Change-Id: Ic841069248d40fdd023c8056a614e484004be298 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2018-07-19Update version of conf.d/app-templates submodule.Jonathan Aillet1-0/+0
Changes of conf.d/app-templates: (f94e45e - Romain Forlot) Align sample on actual default compile options (d0acc2a - Romain Forlot) Add support to binding version 3. (6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget (35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var (332f377 - Romain Forlot) Be able to overwrite BUILD_TYPE using CLI (1ec7531 - Romain Forlot) Use CACHE variable for other common CMAKE variable (0880356 - Romain Forlot) Fix:: wrong wgt using RELEASE BUILD TYPE (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 (66f7bc8 - Thierry Bultel) start-on-target: uses RSYNC_PREFIX path for config (e400fb3 - Sebastien Douheret) Fixed spelling. (6621af0 - Romain Forlot) Improve OS detection (829dd69 - Romain Forlot) Fix: OS detection (8f5a17b - Romain Forlot) Launch from workdir (72ca4ff - Romain Forlot) Change closing that could fix native debugging (6e1a3c3 - Romain Forlot) Fix filename pattern to match .cmake files (30e78a5 - Romain Forlot) Adding cmake file at the root directory (a3c312e - Romain Forlot) Adds commit hash to the version. (6c0e9e4 - Romain Forlot) Change default sample settings. (dd0cec7 - Romain Forlot) Forgot updating README also... (66d0ca1 - Romain Forlot) Update documentation (4b26503 - Romain Forlot) Use LFSH named, rename data to var (bb3c541 - Romain Forlot) Use new CPP generation from afb-genskel (ee5d60f - Romain Forlot) Update README with latest docs modifications (f3954e8 - Romain Forlot) Doesn't set rpath for built target and update doc (935c390 - Romain Forlot) Details external library. (dc4debf - Romain Forlot) Deprecate PROJECT_LIBDIR and PROJECT_RESOURCES var (c9fdbc1 - Romain Forlot) Make sure to point to correct dir for cmake script (818a2bc - Romain Forlot) Fix variables checking. (e40a854 - Romain Forlot) CMake doesn't path protection. (0487d44 - Romain Forlot) Compare to manual Project version if not from git (7dabdeb - Romain Forlot) No failure if none tags found on project git repo (52a3998 - Romain Forlot) Protect path with space in it. (1687531 - Romain Forlot) Check version between app-templates and project. (d275993 - Romain Forlot) Cleaning (054d3b8 - Romain Forlot) Could specify others default install directories (8c2b059 - Scott Murray) Fix finding config template Change-Id: I4e161dc23a08e15d12fa76383a3544bc70d18781 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
2017-11-01Move to support Audio-4a High Level APIFulup Ar Foll1-1/+1
2017-10-31Fix prj nameRonan Le Martret1-1/+1
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-10-27Initial working version with unix/wsFulup Ar Foll1-0/+0
2017-10-27Update Templatefulup1-0/+0
2017-10-25Fix: Wrong commit idRomain Forlot1-0/+0
Change-Id: I065c0b61fc8186d1aa39aa98c573865f7c7fe0ae Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-10-24Initial working version as independent repoFulup Ar Foll4-4/+16
2017-09-01add packagingRonan Le Martret1-0/+0
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-09-01update config.cmakeRonan Le Martret1-59/+117
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2017-08-29bump submodule conf.d/app-templatesStephane Desneux1-0/+0
Change-Id: I1de776af3e7f4721dec5e08dca5dcd0df51adf54 Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
2017-08-28Change default value for playback PCM was muted at initFulup Ar Foll1-1/+5
2017-08-27Fix Alsacore ctlget in form ctl={id:xxx}Fulup Ar Foll4-5/+59
2017-08-27Readme update for controllerFulup Ar Foll3-1/+34
2017-08-25Fix Initial Volume for JabraFulup Ar Foll12-7/+694
2017-08-24Updated Readme and info zone for monitoringFulup Ar Foll1-2/+7
2017-08-23Update with monitoringFulup Ar Foll1-2/+5
2017-08-23Format: remove blank space at EOLRomain Forlot2-23/+23
Change-Id: I786ac8d5be68bdf09d5bb6c883959d6e1963c1fe Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-22Remove Controller that is now stand alone.Romain Forlot16-863/+0
Also move filescan and wrap-json library into a separate submodule afb-utilities Change-Id: Ic46cceb88cd25a808cbd0e5e6da53f56f9fc786c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-22Update to latest template, rename doscript- in debug-Fulup Ar Foll3-2/+8
2017-08-22Minor Fix on LUA script search pathFulup Ar Foll1-1/+1
2017-08-22Handle LUA module checking by distroRomain Forlot4-3/+4
Change-Id: I6703f2225cd9ec44c7bcc4f6048b1ad7c818236d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-21Fix debian like distro module checking (on lua...)Romain Forlot3-4/+1
Add possibility to include cmake distro dependent files Change-Id: I6846c6068d37fef0102b350fca98e806abbc78de Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-21Documentation and LUA for UbuntuFulup Ar Foll2-2/+9
2017-08-21Fix Controller APIFulup Ar Foll2-2/+2
2017-08-20Updated to latest App TemplateFulup Ar Foll8-0/+0
2017-08-18Fix widget build, using icon/config specifiedRomain Forlot1-0/+0
Change-Id: I8f1adc76a35553a7c3cf22f996aba3a21bd096f6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Added default variables from sampleRomain Forlot1-0/+6
Change-Id: I9170f9834868035ab76faaaae941f2c5decf589d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Remove BINDING_INSTALL_PREFIX/DIR variableRomain Forlot1-0/+0
Use CMAKE_INSTALL_PREFIX by default. Change-Id: I16f8018779b624842026ff401857e198c6436ddd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Change how to define compile optionsRomain Forlot1-32/+39
Move specific compilation options to the target it is related keep global compilation option in config.cmake then variable can be correctly evaluated and use with the correct values (CMAKE_INSTALL_PREFIX isn't the same before common.cmake inclusion and after.) Change-Id: Ia3c3fe6bc6fcdcb79858f233b108b9ee1e071131 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18CMake minimal version set to 3.5Romain Forlot1-0/+0
Change-Id: Ic0cc88d4b423deb3ba187b59f3e0caad0711fd4d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Latest app-templates features integrationRomain Forlot3-24/+8
- CMake >= 3.6 mandatory - Change DATA and HTDOCS targets methods to use macro add_input_files() - header generated from OpenAPI file using BINDINGV2 label and set_openapi_filename() macro. - Adjusted README to reflect new cmake requirement Change-Id: I8da515b98c1877d5be5e51f2bf94d691ac3cefb7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-08-18Documented Controller standalone mode and provided a sample config.Fulup Ar Foll3-0/+215
2017-08-18Integration with Alsa HookPlugin is now working. Fulup Ar Foll12-117/+244
2017-08-17Implemented Timer and Event from LuaFulup Ar Foll2-31/+73
2017-08-16Fix DoScript Lua Updated Documentation.Fulup Ar Foll1-4/+4
2017-08-16Fixed LUA Nested Table Issues. Added LUA2C for User Defined PluginsFulup Ar Foll3-19/+28
2017-08-16Moved FileConfigScan to AudioCommon and DocumentationFulup Ar Foll2-12/+39
2017-08-15docall working with simple tablefulup4-26/+41
2017-08-14Work in Progressfulup7-122/+150
2017-08-13Fix AFB_MESSAGE with null argumentsfulup10-143/+255
2017-08-11Almost working version with Json Config, Lua script and sharelib callbacks.fulup3-56/+66
2017-08-11Update to new Tempatefulup11-3/+314