Add support for concurrency handling between number of
listen capture session and playback activity.
Change-Id: I4a0656f240c62f2cc6266a714a96fdcdc13ae9d8
Fix the minor issue in function of query_platform. The 'else' is
missing, which causes that the mixer_paths file name of all the
8916 boards will be overwritten by the default one.
Change-Id: If105e38537f5d4d5d3f52dfc64ac62f11e829bbf
CRs-Fixed: 668629
- 8-10sec delay observed when FM is turned off/on from UI post SSR with
touch tones enabled. If any new input request comes before FM is closed
post SSR, pcm driver assumes AFE is still active and starts pumping data
to AFE which is already closed due to SSR causing the delay
- Fix is to close FM session during SSR
CRs-Fixed: 673031
Change-Id: I4a55c6ca66d94e633e768b1d40584d5a5782e13e
- Single mic device would be seleted in camcorder, even if
the dual mic enabled.
- In camcorder, the input device was force to select
SND_DEVICE_IN_CAMCORDER_MIC, which is a singal mic.
- Fix by selecting dmic device as input devices in camcorder,
Only when the fluence type is dual mic and the channel
count is 2.
Change-Id: I4f6b7d54a3e7e6ddb98355d20c4bc28466905550
CRs-Fixed: 669982
- update audio feature flags to use
AUDIO_FEATURE_ENABLED_XXX instead of
AUDIO_FEATURE_DISABLED_XXX.
- These feature flags are defined
by target board config file
Change-Id: Iba482d8b72bfa2675877d833d7abcb93d4cf4907
To comply with multi-arch build system changes for 64-bit support,
LOCAL_MODULE_RELATIVE_PATH needs to be used.
Drop explicit use of LOCAL_MODULE_PATH, and use relative path to
avoid build system to overwrite one of multi-arch library variants
with the other arch variant.
Change-Id: I21f9b952a79c3930b15ff5549ac3c21ca827cc3a
- All VoIP, compress, deep buffer, record usecases need to close
before voice call setup and don't allow these usecases during
voice call on 8916.
- setMode(IN_CALL) itself is not sufficient to know if we are
in actual voice call.
- Add keyvalue parameters support to know if we are in voice call
and policy hal can query the same and make decissions based on it.
CRs-Fixed: 662804
Change-Id: I20d660fadd07c4d227a7e3dfe356fc39806ca167
pcm driver supports pcm_close during SSR, so reverted
HAL code to block pcm session close during SSR.
CRs-Fixed: 663477
Change-Id: I752e3f4f55288f91294e090b974ba1367c27122d
The stream's output rendering policy requires calibration to be
sent when stream routing configuration is set instead of the
device enable as each stream can have it's own routing with
different calibration needs.
Change-Id: If8bd365c4a6c616ed86b9383ba540ee8e28c4079
-Issue: Voice call audio is not routing to BT headset
though connected, till the waiting call is ended.
-Rootcause: During voice call, if another call is received, the
audio mode is changed to MODE_RINGTONE. Due to this, the primary
output on which the voice call is setup, is not able to find
new device as BT in getNewdevice().
-Fix: Avoid mode change to MODE_RINGTONE when voice call is already
active.
Change-Id: I38582e2500ff4c44eb5ac45dab3aab35606d1c7d
CRs-Fixed: 662883
- When an incoming MT HFP call is accepted during an ongoing
MO HFP call, the MO call goes to held state. Later, if this held
call is rejected, Tx is not heard at the far end of the incoming
call from the moment the MO call is rejected.
- When the held call is rejected, the input device gets disabled due
to which Tx samples are not captured.
- Fix the issue by ensuring that the input device is not set to none when
HFP is active.
CRs-Fixed: 656928
Change-Id: I657b7e2ffbc571dfbc0b10ffced07fdb3f008532
- When an incoming MT HFP call is accepted during an ongoing
MO HFP call, the MO call goes to held state. Later, if this held
call is rejected, Tx is not heard at the far end of the incoming
call from that moment.
- When the held call is rejected, the input device gets disabled due
to which Tx samples are not captured.
- Fix the issue by ensuring that the input device is not set to none when
HFP is active.
CRs-Fixed: 656928
Change-Id: Ie3f0886c0412bfdb3e450c54e9f4b651e992f84e
New machine driver has been added for msm8994. Update PCM device IDs
for voice use cases accordingly. This change is needed to support
voice use cases on msm8994.
Change-Id: Iba5f9423fe99668ccfe3a692c2a3148977d4dfc2
For the usecases where individual streams have to be rendered
through different post processing chain on DSP an output policy
is defined. The output configuration is read from the
output policy file based on the stream atrributes to render the
playback appropriately.
Change-Id: I095592013ffa5b04bea69254026ebb78e2934822