- Added setparameter to be set from hfp app to enable
and disable hfp session.
- Implemeted start and stop hfp session which takes
care of switching device and setting the session
Change-Id: Ie8697328ccbfee09d0d162f6fad01ddb552e4f83
APQ8084 CDP and Liquid might use a different set of devices
compared to MTP device for the same use case. Update device
list to use the right set of mixer controls for use cases
for APQ8084 CDP and Liquid
Change-Id: Ia40c31bc6cd94155d2b6dcc966bf4524906ea687
- Enhance offload formats to support AC3/EAC3.
- update HMDI profile check to make sure that
Dolby playback goes through compress offload
path.
Change-Id: Id8d1738305c117ccdf01c61bb5f4dd17e106b40b
-In-call recording feature support is added in APQ.
-In-call music delivery support is added in APQ.
Change-Id: Id473eac87da33f1f566b6910ec1feadcd3f08317
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
Reboot the phone, start FM playback and it plays back at
max volume regardless of previous Media volume.
The audio HAL is caching the volume that is being sent to
driver after conversion.
Fix the issue by caching the value set by the policy manager.
Change-Id: I2c416fc72d354b368890afcdd51b83e662b0ce6e
CRs-Fixed: 579377
Both Multi-channel output on HDMI and Compress offload playback on
HDMI use cases request for a stream with AUDIO_OUTPUT_FLAG_DIRECT.
The current logic would then result selection MULTI_CH usecase.
Fix this by checking for complete match of flags to select the
use case.
Change-Id: I66df94af6c3b837a6c8054282364e1acf78e6e0f
Select AMR-WB and start incall recording, the audio quality is bad.
The root cause is that the sample rate is set to 8k not 16k for AMR-WB.
Use audio record configure instead of voice configure for incall recording.
Change-Id: Ib71e0e8d1f2c5eb72db3260110e55179e415fa26
CRs-Fixed: 576412
- Add new audio daemon process.
- Pupose of this daemon is to monitor and report changes ADSP
processor state to audio framework/Audio flinger.
- Specific sysfs node file on device indicates ADSP processor
state as ONLINE or OFFLINE
Change-Id: Ibad54ea93cbb4fbc59ba599c76541c1f255d4c48
Send device disable command to external modem before voice call
mixer controls are disabled on APQ side. Enable device command
also should be sent only after enabling mixer controls on APQ side.
Change-Id: I2e4dc321b16f695564460771b3656cd2c4a089a9
- Music app crashes when turning ANC OFF during audio
playback
- Fix by adding device switch logic on set param request
for ANC enable
- Fix for broken AAC recording due to missing fluence
channel count check
Change-Id: I8035d7efd47d4aec278f6ee8c366234982b14222
CRs-fixed: 570800
Currently stereo ACDB ID is used for speaker device but
8974 and 8084 has mono speaker so update correct ACDB ID
Change-Id: Id9a18f698456a2cdcf75619c6e28648317f58fef
APQ8084 uses external modem to make voice calls.
APQ uses CSD QMI interface to communicate with external
modem. Add csd client apis to support voice calls
Change-Id: I11fe0cc614ee38c42e95b40d5cd5e2d8b3afd43a
- Start music playback, plug in and plug out headset and press
'Next' button in the Music app immediately. Repeating these steps
result complete loss of audio on HW codec.
- When headset is pluged out and Next is pressed immediately, the
audio HAL triggers audio routing change from Headset to Speaker,
and closure of compress playback driver. The later is not lock
protected which result un protected access of back end information
in the ALSA framework. This leads to incorrect routing and hence
loss of audio. It is also observed that sometimes it could lead
to crash in kernel and phone reboots.
- Fix by ensuring that the kernel driver close is also lock protected
along with other routing events.
Bug: 11088400
Change-Id: I785effb09e5cef7ba20ee43e0ef91dc296d4e58a
If setParameters(vsid, callstate) call is processed before
setparameter(routing), voice calls will be started on speaker.
Fix by not starting voice calls by checking if the primary output
device is speaker.
Change-Id: If3ecb83bbcb02d5da40d66340276263413adabc9
Telephony will call set_mode(AUDIO_MODE_NORMAL) when a
call is ended which will trigger audio policy manager setting
routing with audio usecase compatible device. Voice calls can
still be active if RIL has not yet called
setparameters(vsid,callstate). This would result in routing
voice call usecases with incompatible device for voice calls.
Fix this by ending all voice calls when set_mode(MODE_NORMAL)
is called.
Change-Id: Id2c9f2ff9ed46969e5cbd27b525b81735c1d49d8
- Add sound devices needed to enable/disable AEC and NS
audio effects on voice communication and voice recognition
usecases.
Change-Id: I53ef3fc84e9ad43852cb22786731594f3e598390
-Update devices that are different across 8974/8x26 variants.
-Use extension as cdp for 8974 cdp device instead of liquid.
Change-Id: Ic0844577743303dc6bd1508a40beeb616abb76d3