Age | Commit message (Collapse) | Author | Files | Lines |
|
Bug-AGL SPEC-1682
Change-Id: Ic4a8925d8be17ab6d53d18ca8abaf99ce348ded8
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
Change binding version to use application framework v3.
Change-Id: Ic54f5418396562c53e4712d14bd86ab4ca3e16df
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Use some application framework macros to support both
v2 and v3 compilation.
Change-Id: I3051bbeff8788ea2c71545e5d253619d4749ff41
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Use application framework macro to get verbosity level instead of a
legacy function.
Change-Id: I925b2ccea3c7d58bc50281eb8d39f82dac1f49b4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Correct warning that was raised at compilation concerning 3 subjects :
- Too short strings for 'snprintf'.
- Forget cast returns of 'json_object_array_length' function.
- Checking return of 'asprintf' function.
Change-Id: I0fc702750841a0f8da921c3c3b1453c5afee0fd8
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
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>
|
|
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>
|
|
When numids are given, the 'tag' field is not initialized
to NULL, and leads to a crash on strcasecmp.
Change-Id: I23a1552bba565259280140a5e099be10613ab1bc
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Add a new way to ask for alsa controls info by implementing the
possibility to ask for alsa control using its label.
It is a clean way to get control numid using control label.
Bug-AGL: SPEC-1405
Change-Id: If5387c63a41a07d451a21edab86e9bb90b4908c4
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Add a new way to get card info when using 'infoget' verb :
When the request contains a section 'devpath', the path specified
will be used to search for the device.
Bug-AGL: SPEC-1405
Change-Id: Idc99a27229f0db3484f62f8f761b7e0daee13a3c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
Handle volume in dB instead of absolute value.
Allows a more natural augmentation/diminution of volume.
Bug-AGL: SPEC-1405
Change-Id: If186c826e7008283f7c05599efa6158ac613a380
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
When 'ping' verb is called, be sure that we won't generate a segfault
by using 'json_object_get' before responding.
Bug-AGL: SPEC-1405
Change-Id: I22fb8e1e492a33e7310d009998fd3c72383e702d
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
|
|
The subcall behaviour changes. This commits updates the code
to the upcoming behaviour.
Change-Id: Ib43b085017536feeb379750bbdef4616d69651cd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The bindings v3 are now allowed to return an object with
errors. To enforce taking that change into account, the
signature of the object changed. It implies some change
in clients.
The current patch makes a minimal change.
Change-Id: I587b5b656d57e747bd4bb1d9f7fa97126211f891
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
* Add magic to pcm handle to assert client (pulse)
provides a valid structure and ignore invalid data.
* TMP Fix for CES 2018, return True even policies are refused.
otherwith sig fault.
* TMP remove afb_proto_ws_unref on client.
Change-Id: I498786147e2dac473a6a9704fef7d12fe4fcaf10
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
- Add comment to Alsa Hook
- Free resource when closing PCM
- Fix Mainloop freeze on the second query
Bug-AGL: SPEC-1110
Change-Id: I296f30b82cc85d4a57c1300518627ff1f8685c57
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
This allow to have one session per PCM in order to allow
a single process handling multiple PCM like pulse to have
on independant session per PCM.
Change-Id: Icdd3e4d44539dba2349d70edeaaeee861c3bd1cf
Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
|
|
Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
|
|
* afbClient thread must be kill when we Close the alsa Hook
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Change-Id: I834f888f41c179950ea7c03d6d9325d7df5b4599
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Change HAL register to fallback to driver name when not direct match found
|
|
|
|
|
|
Change-Id: If4173ea56b2ecf39f6fbdd15ed84321468a0a56a
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
|
|
|
|
Change-Id: I0c29015e252d1091a9350fc85e05c1a444bb7579
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ia1a2ed447fd9b5831eec58606a0f7694e6569017
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
|
|
|
|
|
|
|
|
|
|
Change-Id: I065c0b61fc8186d1aa39aa98c573865f7c7fe0ae
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
|
|
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|