[BH-393] Create separate math lib Create separate math lib from Math.hpp file.
Merge branch 'master' into stable
[BH-353] Add Documentation for main targets * clean up mimimu required cmake version * fixes for release workflow Add documentation for targets, fixes for cmake and release workflow.
[BH-378] PR changes PR changes - mainly includes
[BH-378] Utils move log to library Moved log to separate library
Merge branch 'master' into stable
[BH-399] Cleaning Cleaned to match newest master
[EGD-6049] Add voice call over HSP Add support for voice calls over HSP. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[BH-461] Move TPLIB minimp3 to separate dir Moved minimp3 to third-party directory, added our CMakeLists.txt with interface library defined and upgraded include paths
[EGD-6701] System time usage fixes Fixed all calls to stdlib time. Removed all redundant calls to Timestamp treated as time source.
[EGD-6800] Enable voice transcoding Add voice transcoding during phone call with two basic transforms: - sample rate downscaling by a factor of 2 with a decimator - sample rate upscaling by a factor of 2 with an interpolator (no low-pass filter) Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-6799] Cleanup audio device interface This refactoring removes invalid interface dependencies of the original AudioDevice implementation: - move things characteristic to RT1051AudioCodec to audio::codec - remove dead methods - make start/stop optional and codec configuration independent - add more convenient way to get supported formats Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-6674] Change negotiation of audio block size Replace faulty implementation which produced ambiguous results with one which is suited for both phone calls and music playback requirements, including A2DP and HSP Bluetooth profiles. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-6438] Loudspeaker headset fix Fixed enabling loudspeaker during phone call with headphones plugged.
[EGD-6496] Add basic sample rate transcoding Add basic interpolator and decimator to change sample rates by a factor of a prime number. Interpolator repeats samples forming a stair signal, while decimator drops excessive samples. Templates have been used to utilize fast integer operations contrary to byte-by-byte operations for number of bit width vs channel count combinations. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-6612] Remove debug flags in audio Debug flags introduced accidentally with EGD-6497. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[EGD-6497] Add audio transcoding framework Add a mechanism to apply a data transform on the stream's input. An example mono to stereo transform is provided. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
[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.
[EGD-6499] Fix audio initialization Now the peripherals and the audio clocks will be turned on only when the user is using the audio, which will save energy.
[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.