~aleteoryx/muditaos

ref: ef3f840a4dfa76f16dd009c536782a8b28fec6e9 muditaos/module-services/service-audio/ServiceAudio.cpp -rw-r--r-- 31.8 KiB
ef3f840a — Marcin Smoczyński 4 years ago
[EGD-6049] Add voice call over HSP

Add support for voice calls over HSP.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
b38adcec — Adam Dobrowolski 5 years ago
[EGD-6019] Minimum settings ownership lifetime fixups

added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
Removed dependency from freertos in test global file
EntryPath tests updated and compilation slimed
e71a044b — Przemysław Brudny 4 years ago
[EGD-6019] Revert of two commits

This reverts commit b6416b15dac3a638d803681fbad8746b1808b6aa.
This reverts commit e2f3882d8a0194ae6f74bfc5ab6104c368174517.
b6416b15 — Adam Dobrowolski 5 years ago
[EGD-6019] Minimum settings ownership lifetime fixups

added weakptr link to settings and checks
    it wont crash on deinitialized setings now
Pseuto UT are passing
Added:
    - deregistration on Settings destrution
    - weak referencing of Service to not crash Settings on missuse
    - Proxy as initialization parameter to Settings
Unused code removed
Enabled tests to be written for Settings
afa71c7e — Jakub Pyszczak 4 years ago
[EGD-6051] Receiving notifications on bt

Any notification could be heard via bt audio device while
it's connected to the pure.
If any notification is being played and bt device would disconnect,
playback will be stopped.
Disabled bluetooth low power as it was causing issues with the playback.
JIRA for the low power bug
https://appnroll.atlassian.net/browse/EGD-6681 .
4a19cc3b — Lucjan Bryndza 4 years ago
[EGD-6579] Fix audio crash after playback

Fix phone crash after playback ringtone in new alarm window

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
49c132c6 — Jakub Pyszczak 5 years ago
[EGD-6513] Volume control feedback

Added volume control feedback during music playback over Bluetooth.
Changed volume buttons handler logic in service audio to use actions
instead of messages.
64b4849d — Tomasz Krosnowski 5 years ago
[EGD-6452] Sound selection GUI

Sound selection GUI used to change ringtone, message sound and
notification sound in settings.
6be93bef — Jakub Pyszczak 5 years ago
[EGD-6166] HSP ringing

Added HSP ring sound on incoming call event while
there's bluetooth connection active and HSP is
selected as the current profile.
Possibility of pick up/decline the call using
BT device buttons added.
Slightly changed HSP initialization according
to the UML-s added.
Changed call hangup handler in service cellular.
0d2a647f — Jakub Pyszczak 5 years ago
[EGD-6573] Fix default audio paths

Default audio paths updated to the newest ones.
fd935f41 — Alek Rudnik 5 years ago
[EGD-6093] Audio settings API

Refactored Audio settings API.
Moved phone modes logic from serivce audio to service clients level.
Removed redundant API.
Seprated API for vibration and sound enable/disable.
Fixed issues with vibrations logic.
81adfe41 — Piotr Tański 5 years ago
[EGD-6347] Refactored phone modes handling in applications

PhoneModeObserver doesn't work properly in applications.
Applications have to handle the phone mode changes via AppMgr.
Phone mode and tethering handlers separated.
9c41f6f5 — Jakub Pyszczak 5 years ago
[EGD-6350] Added bluetooth device volume control

Bluetooth device volume control can be set by Pure Phone
while paired and is in A2DP mode. Temporarly disabled
HSP since it's not fully working and causing control issues.
b890bcd6 — Marcin Smoczyński 5 years ago
[EGD-5260] Add A2DP playback to audio

Add basic playback capability using Bluetooth A2DP profile.
Only stereo/44100/16bit files are supported at the moment

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
863d805d — Jakub Pyszczak 5 years ago
[EGD-6304] Popup overall fixes

Removed duplicated mode observer from application
that was introduced during the rebase in this commit
1860bf210f5f128ee8cf780c0cb332abc918dbd1.
Fixed mute logic according to the design.
Fixed switching back to the meditation window.
cf75cfc0 — Marcin Smoczyński 5 years ago
[EGD-5973] Reduce audio stack usage

Verify stack usage of:
 - ServiceAudio
 - application music player
 - decoder worker
Change if possible to a realistic value keeping a 30% margin.
Stack usage reduction is limited due to an extensive stack usage of
every call to the filesystem, which uses around 2 kB of stack.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
ef63ee26 — Wojtek Rzepecki 5 years ago
[EGD-5304] Add new way of system close

Unified method of closing
the system orchestrated by
system manager
686d5395 — Hubert Chrzaniuk 5 years ago
[EGD-5880] Change mode related volume logic

Volume logic has been changed to make the
values independent from selected mode.
bb76fe40 — Hubert Chrzaniuk 5 years ago
[EGD-5713] Change volume hardware buttons behaviour

The volume button policy has been redesigned to be less
ambiguous for the user.
4490d0da — Hubert Chrzaniuk 5 years ago
[EGD-5714] Add phone mode handling for Audio Service

Added separate set of settings for all phone modes along
with basic support for phone mode change.
Next