summaryrefslogtreecommitdiffstats
path: root/ahl-binding/role.hpp
AgeCommit message (Collapse)AuthorFilesLines
2018-10-31Fix undefined role's state at constructLoïc Collignon1-5/+5
Role's state should be set to closed at construct. Bug: SPEC-1834 Change-Id: If2dde2d8614fd55048a8a91209a5a5ae842c3fb1 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-10-22Migration to Afb API v3Loïc Collignon1-9/+9
Migrate the API to get rid of dynapi by using API v3 instead. Also fix possible bugs and memory leaks when startup fails. Bug: SPEC-1546 Change-Id: I7cf8e9454d6910b1258dfe671dedde3b84855fc4 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-07-11Added role for radio, and mute/unmute actionsflounder_5.99.4flounder_5.99.3flounder_5.99.2flounder/5.99.4flounder/5.99.3flounder/5.99.25.99.45.99.35.99.2Thierry Bultel1-1/+5
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>
2018-06-29Fix build for migration to the binder from masterLoïc Collignon1-2/+1
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>
2018-06-12Update to last softmixer and hal, plus some fixesLoïc Collignon1-7/+23
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>
2018-06-12Add some policy emulationLoïc Collignon1-1/+4
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>
2018-06-12Rewrite of the High Level API using the new HAL modelLoïc Collignon1-0/+60
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>