Add support in AHAL for Volume Boost. A parameter is received
from the UI and the volume boost feature set ID is sent to the
calibration driver to send the volume boosted calibration.
Change-Id: Iafb099b2750deaf58dc5f073f31a23abb9bfe950
- Mutex acquired in the begining of
the synchronised block but is not
unlocked when platform_init fails.
- Fix by adding the mutex unlock code.
Change-Id: I02b7f7cac0185dd40ec9f03e443e4de98b18c105
CRs-fixed: 590216
When voice/volte call is setup over USB headset, the call is
still on USB headset even after turning on speaker.
Don't set the device to USB headset when speaker is forced
by Telephony during call.
Change-Id: If6a95895a33423ff5150862a823fc669fd44e59a
CRs-Fixed: 588884
- Ringtone will be played on speaker when USB headset is connected.
- Sonification is not allowed for USB headset. The behavior is
similar to HDMI.
CRs-Fixed: 588622
Change-Id: I5fba6ae0e42235f4144ccebac2a55fe1529b530a
-If any of the metadata parameters are set from the framework.
set the gapless metadata to one.
CRs-Fixed: 588353
Change-Id: I66a79d3f64515d108585527496a754c06a441560
open_output_stream API expects the default usecase to
be returned if other usecases are unavailable or unusable.
However, the output returned in this default case must be
the default primary if it exists.
Change-Id: Ie5cc53f077358d7039d62b09b29edb58c213bc08
- isVirtualInputDevice is a static member function and
its implementation should be modified in base class only.
- Remove isVirtualInputDevice in policy_hal and modify
APM_AUDIO_IN_DEVICE_VIRTUAL_ALL in base class to support
FM recording over A2DP headset.
Change-Id: Ib0527cfdff170367491feb62b117815558e139e1
CRs-Fixed: 581377
- Mutex acquired in the begining of
the synchronised block but is not
unlocked when platform_init fails.
- Fix by adding the mutex unlock code.
Change-Id: I02b7f7cac0185dd40ec9f03e443e4de98b18c105
CRs-fixed: 590216
- HAL always assumed SOUND_CARD/MIXER_CARD
number to be zero. This could cause HAL
not to load when some other card is
detected earlier to HAL.
- Fix by removing these Macro(s) and reading
correct sound card number runtime while loading
- Corrected its use cases across HAL replacing it
with appropriate platform API
CRs-fixed: 580226
Change-Id: I4512e4a2f7f81d8415c3ba8ec393c96867e6d69a
Slowtalk key value is defined as string in upper layer but
HAL expects key value as type 'int' which causes type mismatch.
change slowtalk key value as string.
Change-Id: I66499436d1d09528e4f4b3079c39c9c1a0777385
Add property - audio.offload.buffer.size.kbytes to configure offload
fragment size. The maximum value for fragment size is 256k. Default
value is 32k. The minimum value is 8k.
Change-Id: I9b440a420270b27f5fdba9f82de6944da0afb9d2
- Front end Dai link for HFP was moved to group with all the
Front End Dai in kernel. Hence the device id would change.
Also cleanup of the code to match up other implementations
Change-Id: I0b5444190ddb8610c234a9608d53c3e845d86fd5
-Device switch used to happend even if the setparameter was
not for AUDIO_PARAMETER_KEY_ANC since it was outside the if
condition. Hence move the switch device inside the condition.
Change-Id: I0f51356900709401bf2f1ea3c98b80861128aef3
CRs-Fixed: 575732
In 8610, we need to use I2S_RX as ec_ref_rx
parameter and for SLIM based targets use
SLIM_RX.
CRs-Fixed: 575647
Change-Id: Ia220498f302a58dc3dbd42b1874fa01f081ce3dd
Rearrange initializations of some stream_out member
variables to prevent possible uninitialized use.
CRs-Fixed: 587676
Change-Id: I7018f38f29a19b130185b285f4acf22219e4228c
* commit 'android-4.4.1_r1':
hal: Fix the audio loss issue on codec back end
hal: Fix for Audio Route issue when sound path changes
audio: fix output flag test in open_output_stream
Conflicts:
hal/audio_hw.c
Change-Id: Ib470b143c37ca7719757d20f37253cb256c26343
Currently, AMR WB recording uses tunnel mode instead of
software encoding. Update audio hal to use compress audio
path to do incall recording with AMR WB format.
Change-Id: I93deb3dbc7dcd6a8d2b178334f8b43117ee6841c
CRs-Fixed: 581298
- BTSCO WB sample rate mixer control applied after AFE port opened.
This results sample rate mismatch and voice call over BT SCO WB
does not work
- Fix by apply the mixer control before AFE port opened
Change-Id: I7efa0db9a24d307780bde03032313ad1f454d6ac
- Correct the framesize for 16KHz VoIP use cases
- Add proper checks to enable compress VoIP use case
- Add get_parameters() support to query audio mode
Change-Id: I470d538f1e136780264e81b509fb439baead603d