[EGD-5260] Mono to stereo software conversion Add workaround for Bluetooth audio to *always* convert mono PCM to stereo. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[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>
[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.
[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>
[EGD-5880] Change mode related volume logic Volume logic has been changed to make the values independent from selected mode.
[EGD-5713] Change volume hardware buttons behaviour The volume button policy has been redesigned to be less ambiguous for the user.
[EGD-5789] Fix loudspeaker in-call logic In some cases loudspeaker state night have not been passed properly ignoring users choice.
[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.
Merge branch 'EGD-5737-merge-master-to-exp-lbr-fix'
[EGD-5737] Merge master into experimental Synchronize with master before merging
[EGD-5716] Change sound priorities Sound API has been extended with new playback types.
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5737] Merge master into experimental Keep experimental up to date with changes from master
[EGD-5706] Refactor creating audio device Audio devices are created in the audio subsystem and it is not possible to send a device to bt service upon creation. Introduce hookable audio device factory to allow sharing bluetooth audio device. Move audio devices from bsp to audio allowing removal of unwanted bsp -> audio dependency. Remove Bluetooth proxy device which turned out to be a dead end. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-4342] Remove audio profile db callback This callback is not needed.
[EGD-5580] Fix broken mute during call The mute button during a call did not cause any effect.
[EGD-4977] Reduce audio lag during voice call Reduce audio delay by reducing audio buffer size in router operation. Audio streams are now created directly in the operations, not in the audio service, which gives more flexibility. Audio Buffer size is calculated based on endpoints (source, sink) and operation capabilities. This commit also enables allocations in a non-cacheable region of OCRAM for endpoints that use DMA for data transport. Introduce power-of-two operations that use built-in functions and possibly dedicated hardware instructions of an MCU. These operations are required by the audio stream buffer size calculation algorithm. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>