- Due to mips limitation on 8909, VoIP &
record playback concurrency usecases should
use non DS1 topology device.
- Add new devices on Bear platform, which will
be selected for VoIP & record playback usecases
based on "rec.playback.conc.disabled" system property
Change-Id: I676bb0a870c22d912e8422795abcbbe9cd115318
The backend is always configured with default bit width and sample
rate for voice calls. The backend reconfiguration should not be done
when a new stream starts during voice call.
Change-Id: I9fda27c4fb1925b3ddeec929ad986886dc4d695e
CRs-fixed: 747001
In speaker protection voice call usecase AHAL has two
usecases (VI-RECORD and regular capture) but the
function (check_and_route_capture_usecases) enables and
disables the voice-speaker-mic wrongly as it doesn't see
that the record device is not speaker mic record but
rather vi-record. So it wrongly enables the speaker mic device
which causes mismatch in device reference count.
Change-Id: I981b2e446b4efe4679e21ed5113217dff9ec2a0f
Use voice_is_in_call() instead of mode == MODE_IN_CALL
as a valid indication that we are in call to choose sound
devices.
Change-Id: Iefa968ee463d4ade6c7d09626be667faab6eda98
When SSR happens the callbacks between sthal and ahal
are called within each context aquiring the locks resulting
in race condition. Fixed by removing lock before calling
the sthal callback.
Change-Id: I6cd88d25758f9c0a6ca39141df6629e2f8b6c0c5
Add support for routing voice calls to devices in other audio
HALs by allowing playback and capture to/from AFE proxy
Change-Id: I2c6a1ddec072e1d5f1a8b7ded874e9c082a7b810
Check for 24 bit in HAL is not needed as the check for 24 bit
platform support is achieved through flags in frameworks.
Change-Id: Icc590dfc1c4b831399435c19dd505ddebf6503cd
new system property is used to store FFSP enable/disable in persist memory.
user has to enable FFSP in both acbd file and system property.
Change-Id: Ia1a95515bac2e85cd33b944dba2edcba0712c5bd
-Fix combo device configuration for 24 bit playback on speaker
-Move exception hadndling code to audio_extn
Change-Id: Ia0985a284042a5ac5e3de64aaf5e4d57462ceb85
Headset speaker output device and Speaker phone mic input device
is an invalid device pair combination. Instead, select Handset mic
input device for Headphones.
Change-Id: I1bce425bd73d2f79b7dd78a7d5c701c43390b167
Added new ACDB ID(131) for playback usecases to differentiate
with voice calls, so that FFSP can be enabled selectively
for playback usecases.
Change-Id: Iffae085862b422d99a49c3e774749c38cc0a7b82
- use PCM_OUTPUT_BIT_WIDTH instead of out->bit_width to fix
compilation errors while it is not defined in audio.h
Change-Id: I5c494c622652226f5fd468b073bc29bdcc32d9b3
-The sound intensity is drastically reduced in a DSDA call when
a particular device is re-selected after a device switch.
It is observed that for the active sub, acdb data tables are
registered to ADSP even before the right acdb tables are
sent to the acdb driver. Therefore, the tables which are infact
registered to the ADSP correspond to the previous device.
- Load the acdb files into the kernel memory before routing
voice usecases to prevent any incorrect tables being sent.
CRs-Fixed: 694397
Change-Id: Id2f2a43c887d9b9e74cd98858013d1ef655a93e3
Configure backend at 48khz for 24 bit playback on speakers.
Currently, ADM can be configured only at the begining of stream
playback. During device switch, in the middle of a playback, the
backend remains at the previous configuration.
By allowing ADM and backend re-configuration during playback, 24-bit
playback is enforced on appropriate backend.
Change-Id: I6a6df5699972b0992a217fb2a4c9dc94fd2230ce
Sound Trigger App uses setParameters() API to pass the number of
sessions to be configured to STHAL.
Change-Id: I14abff49863d82178fb633c9a93af0cd02c83e2e
Add new device voice_speaker_protected for speaker
protection in case of voice call.This device is
used to select different acdb id in case voice
speaker device is selected as 8994 device will
use mono speaker in case of voice call and stereo
speakers in normal playback.
CRs-Fixed: 713342
Change-Id: Ib4882b6a20aefcfbae4c113f6ca0ae5d6c899d28
For stereo speaker protection AHAL need to send number
of channels as 4 along with one more set of voltage and current
data to ACDB driver.
Change-Id: I0819c25ddad705607f84edb82fd923d9eb6d9994