Commit Graph

8 Commits

Author SHA1 Message Date
vivek mehta ba5ed1505a hal: enable audio zoom feature dynamically
- based on libaudiozoom and runtime feature flag
  enable \ disable audio zoom feature

Change-Id: I3dcab630e84e99108a541614b3467f0e70c1f274
2019-05-06 20:58:29 -07:00
Arun Mirpuri d750ac513c hal: Convert maxxaudio feature to runtime library
Add changes to convert compile time macro for maxxaudio to
dynamic feature enable controlled by config store. Default value
is true for stock framework and false for vendor enhanced fwks.

Change-Id: I2732dd6beec7193a1847148224d44205819a3004
2019-04-26 16:25:01 -07:00
Weiyin Jiang 2995f669c0 hal: fix misc audio hal errors
Fix misc audio hal errors.

CRs-Fixed: 2436822
Change-Id: I078656c5a7a3a5a97c8044e716c5ca0fe8ff3ef4
2019-04-18 09:30:51 +08:00
Sujin Panicker b904fbec49 hal: 8916 & 8974 platform convergence
- Convergence specific to SDM660 and SDM429
- Add audio_configs.xml for SDM845 and SDM710
- Add wsa feature flag to configs file for
  msmnile and kona.

Change-Id: Ia9b1923e94014a62743e9a6f55bb007e11c0d921
2019-04-10 23:44:45 -07:00
Arun Mirpuri e008ed2618 hal: QCV changes for remaining HAL compile time feature
flags

Removed all feature flags except those that are hardware
specific, legacy features, non-LA features.
Moved following features to runtime enable:
- HFP
- EXT_HW_PLUGIN
- HDMI_PASSTHROUGH
- BATTERY_LISTENER
- INCALL_MUSIC
- CONCURRENT_CAPTURE
- COMPRESS_IN_CAPTURE
- HWDEP_CAL
- RECORD_PLAY_CONCURRENCY

Disabled AUTO_HAL compiletime flag temporarily after
discussing with Derek Chen. Will be re-enabled as
runtime flag later.
Change-Id: I55a58ca405b58be99e1873a5198fa201c0525725
2019-04-10 22:51:13 -07:00
Aniket Kumar Lata b91e4cf627 hal: Retrieve ahal feature flags from audioconfigstore
Update ahal_config_helper to fetch feature flags from
audioconfigstore.

Change-Id: I91c6c21df8f781420d03c027f54d8a7529e746fd
2019-03-21 11:33:54 -07:00
Arun Mirpuri 5dc778085f hal: Fixes for initalizing audio_extn features
1) Fixes for initializing audio_extn features such as speaker_prot,
fm,etc.
2) Runtime detection using vndk_fwkdetect lib has been
changed to dynamic loading instead of static linking

Change-Id: I4deef5e9ffefc17e427ecf5a271ed7bcd18dbb0f
2019-02-28 12:11:51 +08:00
Aniket Kumar Lata 808e8d62c1 hal: Add support for audio feature manager
Fetch feature flags from audio config store.
Provide an interface for audio_extn, platform
and hal code to check if a feature is enabled
or disabled at runtime.

Change-Id: I35d873c787258aee75481de343fcbcbc51cb9e91
2019-01-31 18:03:28 -08:00