- If pcm_start fails for any reason, hfp ignores the failure.
- This could lead to issues as the failures are not handled.
- Return appropriate error and break execution when pcm_start fails.
CRs-Fixed: 684608
Change-Id: Iad43b3d3e3e71e7191d41bbea317f2079d57784a
In APQ8084, Audio HAL needs to update voice call rx and tx
devices in csd client before call start otherwise csd client
sends default devices to MDM. Fix to update csd client devices.
Change-Id: I0a5a1689a92475f052d80a92003e3eacb68d2051
- Adding support for WB audio with BT devices
- Deprecate bt_samplrate" keyvalue pair which was
used earlier to determine wide band speech useCase.
Change-Id: Idc766dc4d8ecf25818f16bccc48c6740b0dfce65
Audio daemon will catch the events regarding the audio device changes and
transfer them to audio HAL.
Change-Id: Ida6b26142ece472a6e127904a43890ee44632d75
-This change adds DSDA support for APQ based targets
where external modem is used for voice calls.
-Add new CSD API to support local call hold.
Change-Id: I7743a1df43dc1abac4e325ff104ec1bb64c9e12b
Stream was null causing data abort when speaker
protection is enabled. Set it to primary_output in case
of playback and set device in case of recording.
Change-Id: I4b532ad7d76adab75e1ef0719eaba197eb3d9379
We don't need to dereference out stream in case of playback.
So move it down so that it gets de-referenced only when needed.
Change-Id: I162346395f4bbb9b3ba04a8fc4b9f3433096ab1a
unsigned int causes negative band level turn out to be extreme large
value, which results in EQ works abnormally due to unexpected parameter
sent.
Change-Id: I81120c604f4e9f23b25d5a45a7b0294fea63d207
CRs-Fixed: 696825
Speaker protection module should acquire the device lock for all global
operations. This change will ensure that the pre-conditions required for
calibration will be met and if any audio/voice usecase is started when
speaker calibration is being done,speaker protection thread should
cancel the calibration.
Change-Id: I0d5fa23657161ec971e851944a0045a01d8248ea
CRs-fixed: 688972
Audio hal maintains link list that contains all active audio/voice
usecases. When usecase is being started it shoule be be added to
list and removed when usecase is disabled.
Speaker protection usecases were not being added to the list which was
causing the speaker calibration pre-emption to fail. Change updates the
usecase list and ensures that device lock is not acquired when
calibration is being pre-empted
CRs-fixed: 688972
Change-Id: I377346243ceaaebfcf80673f367dbd8bb83d5381
- Update Dolby EAC3 audio format enum to
AUDIO_FORMAT_E_AC3.
- This new format is introduced in AOSP code
Change-Id: Id1f524b430b086b881c74f6cb91c9823439a251a