- 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
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
-Disable and enable the device seperately from
check_usecases_codec_backend function.
-Acquire device lock for pcm close. This prevents crash during
headset device switch and fast forward.
-hw free is getting called from compress framework while runtime
update is going on. The front end list could be cleared during
runtime update and concurrent access of front end list could
result a crash.
CRs-Fixed: 568710
Change-Id: Iccc2b9d3c175a5421cfc4d070b0af3906d9080c5
- Add support to enable dualmic fluence on regular audio capture
- Correct the ACDB ids for camcorder and voice recognition devices
CRs-Fixed: 568507
Change-Id: I5d24907db0bd8222a65827659bf5425015c7bd50
- 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
- Start music playback on USB headset. The playback is stopped
after 3sec.
- A touch tone is played through low latency output path, while
selecting the song in the music app. This output goes to standy
after 3sec. So the disable_snd_device() is called to reduce the
ref count on usb headset device by 1. At this point the music
playback (deep-buffer path) is still active. But the current
implementation has uncondtionally calls usb_stop_playback()
which results music playback to stop.
- Fix by ensuring the usb_stop_playback is called only when the
device ref count goes to 0.
- Fix related minor stabilty issues
Change-Id: I979423458738e68da45973751cd918d4c1a924ea
CRs-Fixed: 572048
Atheros BT chip uses AUXPCM instead of slimbus. Audio HAL has
to use different mixer paths file depending on whether it's
internal or external BT chip
Change-Id: I78ae70462fed42d4260ae37070ba23e81779c866
- Audio record fails because FM usecase
and device are always selected for
normal record.
- Fix this issue by updating if condition
checks for FM usecase and device.
Change-Id: I9aa5cfc29bc686c351cac177b41139d138b9835a
Compressed offload device number and entry from the device
table is missing due to merge issue. Add the device number
to fix offload playback issues.
Change-Id: Ia3eb0e3aaef1e1a73eda5d70bb8f16711ddd182f
- 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
- The audio content in video clips, YouTube content, etc
are being rendered through low latency path as it was
set as default output profile. This results more power
consumption for video playback.
- Fix this using deep buffer path as default one and use
low latency path only for those audio tracks that
request with AUDIO_OUTPUT_FLAG_FAST.
Change-Id: I52fafa0ec2a312bc4383c813497830e6ded071bc
CRs-Fixed: 570389
If mic is muted, the recording buffer is reset,
then there is no audio recorded during voice downlink recording.
Don't reset the buffer if voice call is active.
Change-Id: I59d0543febcccf4a70dfbe713e0921e7bb9f2092
Compile voice extensions based on the flag
AUDIO_FEATURE_DISABLED_MULTI_VOICE_SESSIONS defined
in BoardConfigVendor.mk.
Change-Id: I06c42bf4b79294fed2077c1d2771ed155f68de00
In multisim scenarios, local call hold tone has to be played
to the uplink on the sub on local call hold. Add incall music
delivery feature so that call hold tones can be played to the
uplink.
Change-Id: I8cecf0139926a4bfee603c02542bbedc67720bf4
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