-Add support for multiple hardware variants.
- Most of the targets supports multiple hardware variants such as
MTP, CDP, Fluid, Liquid etc. The mixer paths for certain devices
may vary on some of the variants. For example, the mixer controls
for speaker device are different on msm8974 MTP and Fluid variants.
- Update audio HAL to select corresponding entry in the
mixer_paths.xml file based on HW information.
Change-Id: Id957c44d55639b7c833a6c4c8caf162fcf8041f8
-8084 has two variants of soundcards taiko and tomtom.
-Add tomtom sound card name to hw_info
Change-Id: I5b03b6d77589b5491d922b6caa2146fdd43ebf08
CRs-Fixed: 627505
The pcm device id for voice2 call on APQ target is updated
to match the Voice2 Stub front-end dai sequence in machine
driver.
Change-Id: Id70f2e8ba5aa7762de616cd867a1e1ed60f9195e
There are specific xml files used for I2S based external modem.
Add check to load the correct xml file.
For I2S based external modem, voice sample rate can be 8k or
16k based on vocoder type. Call csd client api to get the
correct sample rate to configure voice call.
Change-Id: Ie9799336620f49a890355be74fe1830eb348cabe
Enable flag should be sent directly through offload effect driver to
adsp whenever bundle receives EFFECT_CMD_ENABLE. Otherwise enablement
will only take effect in adsp after subsequent parameters being set, and
that's not expected.
Change-Id: I5a8f936095b5667f0e04b9109b67eaa0faec3a69
Add/Enable msg logging
-Salient funtion calls to tinycompress
-Salient funtion calls from frameworks
-Events sent to frameworks
-miscellaneous important events
Change-Id: I493d98d3f3c1216f7c6030a539e01d1f2dd8c202
The method to get baseband through property will be deprecated.
Call ESOC API to get the number of modems within the platform.
Use the number of modems instead of baseband to decide whether
CSD library should be loaded.
Change-Id: I470616a6ce833a368783bba9442285a69491cbac
- Check if multi-ch playback in offload path is active
before re-configuring the HDMI channels
Change-Id: If3639ffbbbc56083f9d09257ea4fafdc2b204e76
CRs-Fixed: 622339
- Remove additional check to set Dolby DMID
for low latency playback. DMID should
be set for all playback use cases.
Change-Id: Ia93e1b13cc61145148a1bf520a222f8e480b3e2b
CRs-Fixed: 620246
-Wfd supports both 5.1 and stereo. Based on the sink capabilities
update the correct channel count for dolby configuration for wfd.
CRs-Fixed: 609429
Change-Id: I85b81ba7db7134a6781007393f0f3c2adb5ea138
8x10 skuab uses lineout path instead of speaker. Add the missing
voice_speaker device in the array so that hal can select the
correct path for voice speaker in 8x10 skuab.
CRs-fixed: 621807
Change-Id: I5509184e368121cb1825392fce3860af20a9fa44
Currently, audio_effects.h header file is included with reference
to the absolute path. Instead, reference it from the kernel
exported headers.
Change-Id: I83880e0947e8b6a334b11c952fe8182b49ef5090
Different chipsets have different device IDs as the front end
dai links are specific to chipsets. Ensure that the right device
IDs are used based on the chipset.
CRs-Fixed: 611132
Change-Id: If7d1a0de30653ed85d52bcb35fd13b0cc7282657
- Remove 8916 platform specific folder
- use common platform specific files for
B family & 8916 targets
Change-Id: Icdc20fa289d3aaa2080346e1305b0faec1bbd233
The return value of platform_get_parameters() is getting freed up
wrongly which is fixed now. This bug was introduced as part of the
gerrit-id 611791.
Change-Id: I61e4f5abc732fbe84702452e27cde7c1c36f77e6
- Translate PCM Offload format to pcm codec id
- Set 16/24 sub format id in compress params format
- Calculate offload fragment size for pcm
- Move offload calculation functions to platform file
- Update audio policy manager isOffloadSupported
for pcm offload profile. Use audio.offload.pcm.enable
Change-Id: I2064d646b66e8283fce2cc736e96fb93cba0a552
- Need to check if the hfp session is WB or not before
setting the device to avoid rerouting.
CRs-Fixed: 605465
Change-Id: Ice6fd2776b89e5358004071b011ac304f35dbf58