Sound trigger lookahead buffering data is read through audio hal.
Also the audio hal has to inform sound trigger hal about concurrencies
and subsytsem restart events. Audio Hal uses proprietary interface
defined by sound trigger for communication with sound trigger hal.
Change-Id: Id344077b40b481a953769518f8a6ac0adc13b709
Extend platform parser with support for additional sections.
Supported sections now include acdb ids, pcm device ids and backend names.
Change-Id: Idfbc8a8bb490606686436c107db5b0c7d636ccbe
- Add flac in supported codecs list
- Set FLAC codec specific parameters
- Set fragment size based on bit width and sampling rate
for flac
- Configure backend to 24/16 bit based on the current
usecases running
Change-Id: If013078e277fd3053fba6489345803f8f58bd86d
- Adding support for WB audio with BT devices
- Deprecate bt_samplrate" keyvalue pair which was
used earlier to determine wide band speech useCase.
Change-Id: Idc766dc4d8ecf25818f16bccc48c6740b0dfce65
-This change adds DSDA support for APQ based targets
where external modem is used for voice calls.
-Add new CSD API to support local call hold.
Change-Id: I7743a1df43dc1abac4e325ff104ec1bb64c9e12b
Add support for concurrency handling between number of
listen capture session and playback activity.
Change-Id: I4a0656f240c62f2cc6266a714a96fdcdc13ae9d8
APQ8084 uses an external chip for FM. Add support for
mixer control for external FM volume control.
Change-Id: I296d0b32fce632a296057e6d7b48698d9b0648fe
Add support for muting the RX and TX devices without affecting
the voice stream. This feature is added to enable voice call
quality testing by carriers.
Change-Id: I4d0f599e44ae24ce02d29333f496ef18f889ac55
Move platform_parser to root hal directory. Rename
platform_parser to platform_info. Change name of
XML file read from platform_info.xml to
audio_platform_info.xml. The xml now only needs
information for ACDB ID's that you want overwritten.
Names in the XML now match sound device enums in
platform.c.
Change-Id: I6f9bfcf4149f08d88cb2a95ba021bdf7296aaf4d
Add XML parser which parses the platform_info.xml
on the device. That xml contains ACDB ID information
and is populated from the device project folder to
the /etc folder on the device. It is used to overwrite
hardcoded ACDB ID's in platform.c.
Change-Id: I86419bf0f48bcf7f0125da58626adab1d23fa50a
Listen needs be stopped when audio capture is active. Also
Listen needs to be started again after audio capture becomes
inactive. Stop and start listen based on audio capture device.
Change-Id: I05ca7cccd59b43a163604881bd9c6ee10cc8fba3
Depends-on: 510494
- There is no specific ACDB existing for T-Mobile on
all A/B-family targets.
- The T-mobile specific implementation is from Nexus5 audio HAL
- Remove the related implementation which is not applicable
Change-Id: I0732dd174b8b61792fbc60905c191ac4ec1bbae0
- 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: I060f2e6c331344dd41417c19fb688ff27a129308
Conflicts:
hal/Android.mk
audio/hal: Configure HDMI channels based on output stream channels
hal: Fix for Tx Mute issue when a new call accepted while in call
Level measurement in offloaded visualizer
audio: Presentation time enhancements
implement get_presentation_position() for offloaded outputs
audio : add new TMUS MCC and MNC list
audio : add new TMUS MCC and MNC list
audio : add new TMUS MCC and MNC list
add offloaded audio visualizer
audio: compress offload enhancements
audio: enable AAC offload
audio: set cached volume before starting voice call
audio: set cached volume before starting voice call
Implement HAL API get_presentation_position
hal: force stop after drain.
hal: Add support for Tunnel mode audio playback
Conflicts:
Android.mk
hal/audio_hw.c
hal/audio_hw.h
hal/msm8960/platform.c
hal/msm8974/platform.c
Change-Id: I0c66fd6bae9b4974e1791f4e848c775d389da3d0
The uplink, downlink and the combination of both can be
recorded using sound recorder app. Add support for incall
recording feature in audio HAL.
Change-Id: Ia828ab5b3af8044d82b6ef8eb989ae0ba9bbba16
Update HAL to add multi SIM voice support. Seperate
out voice features to voice files.
Add getprop/setprop for BT sample rate, Fluence and Slow talk.
Change-Id: Ief61466f78c7b915549981a28fc7ff32731607a5
- Remove broadside dual-mic config specific
code which is not supported anymore.
- change output device for voice calls.
Voice calls should enable side tone,use voice
handset device which enables side tone during
voice calls.
- Add Fluence quad MIC support for voice calls
in speaker mode.
- Correct the audio hal library name to reflect
the target name.
- Compile the msm8974 platform code for all
b-family targets.
- Fix the low latency number accordingly for
msm8610 in platform code
Change-Id: I8f16ac8eef8ef4bec1295bf73208ebaf90303603
1) Add API to query platform render latency. This API is only
valid for deep-buffer and low-latency streams.
2) Adjust frames rendered for deep-buffer and low-latency streams
with the platform render latency
3) Use tinycompress APIs to query presentation time in case of
offload streams.
Bug: 10551158
Change-Id: If94e0994bfc0b757f29aa4b48be6fc63dc17bca0
- Get EDID audio block info from a mixer control instead of a file.
- Fix a bug where the current sad is not updated in the for loop.
Bug: 9430906
Change-Id: I750e307ce1064eeb98d09ea8534a375252630841
If the sound card is not created in kernel before audio hal initialized
by audio flinger, the mixer open would be failed.
This is timing issue. So retry routine is need.
Change-Id: Icff3cd53763bfc483725849874fe27ff4de28890
- Set the deep-buffer and low-latency output buffer sizes to
integral multiple of msec. This reduces the variations in
the writes.
- Compute the input buffer size based on sample rate. Use 20msec
buffers in capture path.
Bug: 9283911, 9106434
Change-Id: Icbcb653f7f0fd3293dd4b514a54ac91d8311b308