Commit Graph

10 Commits

Author SHA1 Message Date
Derek Chen f082fdb7f1 hal: support dynamic feature enablement for auto hal
Support dynamic feature enablement for auto hal
driver compilation.
Update fp for ext_hw_plugin driver.

Change-Id: Id534530875068b9641df103a3b58aaac06c7578e
2019-07-26 13:45:56 -07:00
Aniket Kumar Lata 4f9a2a5a82 hal: Do not force mono for VoIP Rx with stock configuration
HAL forces mono configuration for VoIP. This is due to VoIP
topology being configured as mono. However, pure AOSP
targets support VoIP with stereo configuration. HAL forcing
mono would lead to mismatched configuration. Correct this by
forcing mono only on vendor enhanced targets.

Change-Id: Icc63e14469ef67b5d916cebdba56a45910dcf28d
2019-05-17 10:10:04 -07:00
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
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
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
Aalique Grahame 6e7637151a hal: Fixes for dynamic audio HAL feature enable
- Update audio and voice feature init sequence
- Update API names for querying whether feature is enabled
- Fix A2DP audio_extn APIs
- Fix compress VOIP set parameter default return val issue that
  was causing no other set param to be processed
- Fix dynamic primary usecase check

Change-Id: I08fa3bc369ec197932347b01491588d42655797c
2019-02-05 16:34:45 -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
Arun Mirpuri b1bec9c80b hal: enable dynamic audio HAL feature extensions
Move audio and voice extension feature to seperate
dynamic libraries. Loading these libraries will be
controlled from config store based on target. These
flags can be changed at runtime

Change-Id: I042450768243124ea80945efac0821984f96b9bf
2019-01-30 17:36:06 -08:00