Age | Commit message (Collapse) | Author | Files | Lines |
|
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: I668044201c9addbc185ea953c6e3239abfda91c5
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>
|
|
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: If2dde2d8614fd55048a8a91209a5a5ae842c3fb1
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: Id9e77adf7cb2470b720d387f6f8026da2025d162
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Change-Id: Ib23b4d1c1d234678f3f0d1ad7628c4448985e8db
Signed-off-by: Tai Vuong <tvuong@audiokinetic.com>
|
|
Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
|
|
remove property value not implemented
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|