Age | Commit message (Collapse) | Author | Files | Lines |
|
Control the currently opened role with the higher priority.
Volume changed event nows specify if the corresponding role was the
active one when the event was emitted.
Bug: SPEC-1313
Change-Id: I87ae89ef03357a3537ada86f1dd3f319d13cbe85
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Added comments, remove unused declarations and move around some
declarations and implementations to be more logic and tidy.
Change-Id: I4b392f9aa2471067b6d102532b620acc6afe3cb2
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
The ahl-binding.cpp file should contain only ahl_binding_t members.
Change-Id: I00508eb7e188b72bed7ae3a8abdc212c8e28949d
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Convert every indentation to tab instead of spaces and get rid of mixed
tab/spaces indentations.
Also remove few trailing whitespaces.
Change-Id: Ic4a8f2adcacb99789a403aefe6a16daaffee5cd6
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
When a policy does a 'ramp-down' on an audio role, it never does the
'ramp-up' when closing the role that triggered the policy.
Also, session handling was very buggy and had to be reworked to allow
the policy to do its job.
Bug: SPEC-1949
Bug: SPEC-1950
Change-Id: Iabf0e08b87862bf4620870e4b4a1214f699c7e64
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
New subscribe and unsubscribe verbs to get the volume_changed event.
Bug: SPEC-2053
Change-Id: Iedeb542c7c3d880f0d6294b0310d2662e0ac11f1
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Bug-AGL: SPEC-1796
Change-Id: I7296be555eb8929d090a944b002197a7da754824
Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
|
|
On connection close, opened roles are closed as well. This prevent the
auto-close to happen if the role is already closed.
Bug: SPEC-1835
Change-Id: I9d8d8265927e758009108cdade26600d408b93e0
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Role's state should be set to closed at construct.
Bug: SPEC-1834
Change-Id: Icdee8f4606bccdeec3b74bea066679dd5975e8b7
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Bug-AGL: SPEC-1758
Adds permission, required to send control messages by
agl-service-unicens. The permission is required by the
4a-hal-unicens plugin.
Change-Id: Ib1522b032241709dbf396c80cc2c4db8dec8c5d4
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Softmixer was used a long time ago as a workaround of a lacking feature
of HALs. It's not used anymore.
Also removed an old commented dependency from the widget file.
Change-Id: Icb5658934b3865cf0970aef527b1054bdf2bbb90
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Change-Id: Ie81e8659554848156e0749906013b056879fa8c7
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Changes of app-templates:
(1613c94 - Matt Ranostay) cmake: coverage: disable compiler optimization for COVERAGE build
(d639f42 - Thierry Bultel) common.cmake: fixed erroneous search path for os-release
(fbccebe - Romain Forlot) Fix: missing gcov symbol in compiled binaries
(051f84f - Jan-Simon Möller) Add gitreview file for flounder branch
(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
(9c1a0fb - Romain Forlot) Fix: interpreted '&' character
(9202fac - Romain Forlot) More accurate comment about widget template file.
(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
Change-Id: I6ac708f96fe7baef46b0b4f93539fcf8ed65a023
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Changes of controller:
(4ddd789 - Romain Forlot) memleak fixes
(76e47a2 - Romain Forlot) Retrieve by default an int64 instead of int
(61f072c - Romain Forlot) New function to retrieve Api's name from LUA
(0249030 - Romain Forlot) Handle number and boolean to subcall an api's verb
(8069ee6 - Romain Forlot) Fix: compiling a controller without LUA support
(88d6ac0 - Frederic Marec) Fix Parse plugin
(e849d36 - Clément Bénier) AFB:servsync: add string for query argument
(303022b - Romain Forlot) Reworked pluginConfig function
(0384c9a - Romain Forlot) Retrieve plugin list from api rather than a global
(5865119 - Romain Forlot) Add setter/getter for user free defined pointer
(c76dc6c - Romain Forlot) Pass the plugin to action.
(a492cbf - Romain Forlot) Abort if one required API is missing
(8e49f8d - Jonathan Aillet) Correct an error when no plugins are defined
(73eec54 - Jonathan Aillet) Decrease print level when no onload action
(ff20c39 - Jonathan Aillet) Add a 'params' fields for controller plugins
(6abf6ad - Jonathan Aillet) Call wasn't done correctly in 'CtlConfigExec'
(e37c3a8 - Romain Forlot) Add an Init step to the plugins load
(dcf433f - Romain Forlot) Add ctlPlugins array to the ctlConfig structure
(1d6110f - Jan-Simon Möller) Add gitreview file for flounder branch
(d6eb01e - Romain Forlot) Change loading configuration object behavior
(c3a70d7 - CorentinLGS) app-controller-submodule doc: Changed doc to fit new format.
(82820f4 - Romain Forlot) Fix: compatibility with binder FF.RC4
(02bbf59 - Romain Forlot) Fix: Wrong variable definition
(bdf1a6b - Thierry Bultel) ctl-lua: Fixed memory corruption
(4386ec5 - Romain Forlot) Migration to v3
(789a8ae - Romain Forlot) Adds v3 function to get binding settings
(3891dcc - Romain Forlot) New function returning the binding root directory
(e7132f1 - Romain Forlot) Change the default GLOB pattern
(36ed31c - Romain Forlot) Fix wrong computed length
(29307ea - Romain Forlot) Add path to the installed widget path.
(191292f - CorentinLGS) Controller: Converted README to a gitbook version.
(4e30eb1 - Romain Forlot) New defaults useful functions on lua table
(61cbc9a - Romain Forlot) More precise log message when loading a Lua file
(535df7f - Romain Forlot) Fix: wrong legacy function signature
(b79a761 - Romain Forlot) Split loading JSON controller file.
(c3d7de2 - Romain Forlot) Release arguments once C function returned.
(a58d83b - Romain Forlot) Fix : typo introduced in a previous commit.
(86f65bd - 8000ff) Fixed character counting that was shortening paths
(e32d98c - Jonathan Aillet) Keep json unmodified during action execution
(88892db - Romain Forlot) Use prefix variable to find controller's plugins
Change-Id: I4de78e4e3d82a2d6209455d5ff539e74931b812b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Changes of afb-utilities:
(10376c9 - Thierry Bultel) filescan-utils: follow symbolic links in search
(a2079c6 - Jan-Simon Möller) Add gitreview file for flounder branch
(f0ce5b6 - José Bollo) wrap-json: Fix duplicated lines in header file
(764c355 - Romain Forlot) Add '@' as binder middle name separator.
(74be4cc - Jonathan Aillet) Enhance 'wrap_json_clone_depth' description
(a37225f - Romain Forlot) Fix: use of GetBindingDirPath without dynapi
(4f99d16 - Romain Forlot) Retrieve directory list from environment variables
(f46a0dc - Jose Bollo) Remove the file .gitmodules
Change-Id: I79ac9281ecfe99988b5b8224fda70ec857663d9a
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
The feature "urn:AGL:widget:required-binding" is now
preferred to the feature "urn:AGL:widget:required-api"
for requiring a local binding.
Bug-AGL: SPEC-1800
Change-Id: I9e9d9720f86126794ef903cad2bb1c5e53d09099
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Documentation was available only on master. New documentation website is
now by branch, so documentation should be available on both branches.
Bug: SPEC-1993
Change-Id: I55484d5c1f28ae1e7fa927533b3dd862a03ed207
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
When a policy does a 'ramp-down' on an audio role, it never does the
'ramp-up' when closing the role that triggered the policy.
Also, session handling was very buggy and had to be reworked to allow
the policy to do it's job.
Bug: SPEC-1949
Bug: SPEC-1950
Change-Id: I668044201c9addbc185ea953c6e3239abfda91c5
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Since the integration of bluetooth playback support,
the bluetooth hal must communicate with the
Bluetooth-Manager service.
Change-Id: I4f2b24893c8846d0933100d5c3741a14a2f76bae
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
(cherry picked from commit 665d2d7ec8dd1465538c83df95e29c23de2cffcb)
|
|
Change-Id: I60e70d788f060591506d2bad1c8e5aa08a5f7f76
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
Ignore the .vscode folder as it's IDE user files.
Change-Id: I74ab91cfcc2a44dd6933ba07e1127c25fba39a05
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Most of the time if you request an audio role, it's to use it. But you
can't use an audio role not bound to a device. Listing not bound audio
roles can also lead to confusion.
If you want to list all audio roles anyway, you can now pass a verbose
parameter.
Bug: SPEC-1690, SPEC-1646
Change-Id: Ie216cb58317393c0e7136919bb9c91c259881acd
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Reduced the verbosity by using more approriate log level. All message
can still be seen by increasing the verbosity of the service.
Bug: SPEC-1688
Change-Id: I584ef1a594536eb91b9c4d74885192763a85bdcf
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
This defines a new 'radio' role that uses the radio_stream
Also implements the new mute/unmute actions, that are
forwarded to the softmixer.
Now registers to a client (multimedia player, radio service ...)
disconnection, to properly free the leased role.
Change-Id: Ic15fb63cd90ba28f3978c67d917a77ed6b030e08
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
Change-Id: I87a8c0ba3fdccf6bddd6f4fb7982225c1399f130
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
|
|
This is done in config.cmake
Change-Id: Icf36d61a5127689e55e11125cbe60b72b939bb1a
Signed-off-by: Thierry Bultel <thierry.bultel@iot.bzh>
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Changes of conf.d/app-templates:
(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
Change-Id: I4ee5e9f0a70bbc555d3d93f2534f4f913a9e6951
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Changes of controller:
(440be09 - Jonathan Aillet) Use binding version to set controller definitions
(67b6d49 - Clément Bénier) ctl-lua: typo fix
(bac7d6d - Clément Bénier) asynchronism for test: LockWait added
(4a72073 - Romain Forlot) Fix: plugin api assignement order
(e45d063 - Romain Forlot) Execute ConfigExec only if section is existing
(2d1c3d2 - Romain Forlot) Always set the api member even if NULL.
(9622138 - Romain Forlot) Ability to add a plugin after the initial load
(0f3063b - Romain Forlot) Be able to dispatch required api at the wanted time
(1ff524b - Romain Forlot) Change LUA package path at LUA interpreter load
Change-Id: I1c038e6c73e730aaff9a8fe6ecde49be04c7d961
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Changes of afb-utilities:
(52f0478 - Jonathan Aillet) Remove unnecessary 'AFB_DEBUG' redefinition
(fc1c62a - Jonathan Aillet) Use binding version to handle dynapi
(5811a53 - Jonathan Aillet) At search, use the prefix parameter as a prefix
(2c29f15 - Loïc Collignon) Remove deprecated use of cmake/Qt macro
(5bec8c5 - Loïc Collignon) Rename method to avoid conflict with Qt's one
Change-Id: I94f1e651a4668d752bb8d4dd28dc25e9f37a6283
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
App templates make the config path change after each commit.
This is a workaround until app templates are fixed or a better solution
is found.
Change-Id: I73fd69cf12f3ff2e283e80d2ae56629c290f7a9a
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Add NetBeans projects files to .gitignore so that they are not pushed.
Change-Id: I9719243555d136bd4d78daa56011e9fdc537bc25
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Some definitions changed between eel and master versions of the
app-framework-binder.
Change-Id: I92d6f4af3193a693580d421adbd4331fcb249392
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
legacy dynapi calls
Change-Id: I130408705f8052fec0bd6a6a49740922630ecb0c
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Replace the whole content of 'master' by the content of 'eel' as it is
the new version using the new API.
Change-Id: Ifc72f9dfa44d678aefb1641c8cebca97b2aeffbe
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Controller call the config twice due to multiple initialisation phase,
the code should handle this behaviour to not doing things twice.
Also removed an unused section from the config file.
Change-Id: Iecf09fe494173b757c3557d838782c50153dbfb4
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Mixer will make use of the high level api to control volume, but it has
to have special permission to be allowed to control volume without
opening the stream.
Change-Id: Iabf76e3df329de3706f24ef21b6df35b5f5aab60
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
When installing agl-service-audio-4a on a target,
the controller should also search json config files
in the folder where the widget has been extracted by
application framework.
Change-Id: I24b9c83c4a357fbad23744964aa1298c770fa6e8
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
|
|
Service name had change during tests phases, but I forgot to restore to
the original name. As long as the recipe do things base on this name, it
have to be restored.
Change-Id: If00d69f34fe04f6dbacee01e96ac0c49b4f56dad
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
The required config file was not deployed during the widget creation.
Also removed a useless and empty source file.
Change-Id: Icaca2ef600441dba75d728a76a175049d31966a9
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Use the last 4a-softmixer and 4a-hal-generic versions.
Fix some potential crash and performance bottleneck.
Now support sessions to disallow multiple opening or closing by not
owner.
Change-Id: I95b020a3fab03b1e1058812adae1d8d5986f282b
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
Add a very simplistic policy emulation just for demo.
The real policy engine will be brought back soon.
Change-Id: I6f77c8dc58ba335eabd1a1d858354a84559d9e7f
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
The new HAL model need the High Level API to be rewritten.
This is the first version of this rewrite, still in progress
but should work.
Change-Id: I5c94cf39d84cefae6b7a179c09d95e645673e8d4
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
|
|
This required a lot of changes in the code,
please review carefully and decide if you want to include now
or after CES
Bug-AGL: SPEC-1207
Change-Id: If1aacecdd2aa9afd3ce4314c3b6334f9334faff4
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
Added proper error messages
Bug-AGL: SPEC-1207
Change-Id: I5d898f9ef3968021503e531f1b0e189cc878234e
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
changes in the code, please review carefully and decide if you want to include now or after CES
Change-Id: If1aacecdd2aa9afd3ce4314c3b6334f9334faff4
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
Change-Id: I5d898f9ef3968021503e531f1b0e189cc878234e
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
Change-Id: Ib23b4d1c1d234678f3f0d1ad7628c4448985e8db
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
Change-Id: Ib23b4d1c1d234678f3f0d1ad7628c4448985e8db
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
Change-Id: I27aa13d7113614b9ef69d09dccc21551cfe2445d
Signed-off-by: Fulup Ar Foll <fulup@iot.bzh>
|