When voip usecase is active and voice call is recieved, voip
usecase will go to standby causing devices to be disabled
resulting no audio in voice call.
CRs-fixed: 589353, 592531
Change-Id: I6d5e2f9c5dd72438affd82799333d7227c72533f
Conflicts:
hal/audio_hw.c
-Set the property-audio.offload.gapless.enabled to true to enable
gapless playback by default.
-Set mixer control to the driver to decide if gapless playback needs
to be used or not
-If gapless playback is not enabled then partial drain from HAL is
treated as full drain.
Change-Id: Id7f4967fe528bab9097c3f609058276ec02174e1
- when hfp is active we make sure we do not reroute anything
new to different device with same backend.
CRs-Fixed: 592390
Change-Id: I75e69916a8fe7e711b326cf82b206e3e16508b60
- Add support for setting sampling rate using setparameter. This
is to support 8000 or 16000 sampling rate set from BT
Change-Id: Ia6c7e530df0ba0226e492937e1c9acc70f6c6d13
When setparameters() is called and if the known keys are not found,
the implementation returns -2 error.Fix this by setting error only
when keys are found and there is an error while executing corresponding
implemention.
CRs-fixed: 589280
Change-Id: If5544d6fdeac47ddfc1f7e8e18bfa81e2ef5cbc2
-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
- 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
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
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
- 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
Incall recording or Camcord recording is failed during
voice call over BT device. The reason is that SND_DEVICE_NONE
is as input, which causes the failure of getting
input snd device.
To solve the issue, update the condition check to get input snd
device and add the device is AUDIO_DEVICE_IN_VOICE_CALL check.
Change-Id: I59eecfa5bdbe68d54ff458a444d8fe981d312e2e
CRs-Fixed: 579927
- 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
- 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