FFV/Allplay requires licensing info during init.
- Retrieve Product_Id using "meta_info_key" from platfrom xml file during HAL-Init.
- Retrieve Product_License using "audio_calibration_info" from ACDB.
- Extend QAHW GetParam API to access AllPlay License information.
Change-Id: Ie759f795d76e0038cba3f14ee9084f1c46b64c0a
Add support to set channel mix coffecients to convert from
multichannel to dual mono.
Change-Id: I2ecd8babfe53ca48b6e596dce0579e95879ce7e0
Signed-off-by: Surendar Karka <skarka@codeaurora.org>
Modify FFV system property name to match with naming convention
to use vendor prefix.
Update stream_in sample rate along with config rate for
multi-channel usecase.
Change-Id: Icac259f54e8d7cdd760e826b345a3af0d4cb754b
Keep_alive can now handle silence playback on multiple concurrent
devices such as primary output devices as well as HDMI
Change-Id: I08cbec51394d23255e1a61928e0b2cad552b2ac0
Signed-off-by: Md Mansoor Ahmed <mansoor@codeaurora.org>
- Update the stream_in sample rate in adev_open_input_stream
for surround sound record.
- As the ssr calls are not protected with the locks the ssr_init and ssr_deinit
calls are coming from different threads and hence crash is seen in the ssr calls.
Change-Id: I22186a33e560a5de70a384b71910eb953fd369f0
-Use long for mixer control with integer type to match with
kernel snd_ctl_elem_value definition.
-Use packed structure for mixer controls with byte type
Change-Id: I9fbb1d10c5ee212348b58fc4b27a3d74403d8bda
Add support for 6mic Fluence pre-processing of
captured stream using Far Field Voice (FFV) algorithm.
Change-Id: I7a643014f3e090482db7772dce2fc812fd469b2d
Add support in HAL to send mix matrix params using downmix,
Pan-Scale mixer controls. Add new interactive usecases and
also add support to open and teardown for interactive streams.
Add support in test app for supporting up to 9 concurrent
streams. Add support for mixer matrix params handling.
Change-Id: I0dc5b908ee779b2b2c526a67609c057f591f26e7
Add new API to set device configuration from Client.
Currently the device config is set from edid.
New API overwrites the default device config with
client provided values.
CRs-fixed: 2071954
Change-Id: I1f0918acf0a420f9c9d8a17bc070637199cb7105
Vendor created android system properties are required to have
vendor/qti prefix. Update vendor specific audio system
properties used in HAL.
CRs-Fixed: 2034869
Change-Id: Ibdb1d12fedee1ce12073e8b90fdec814318f3acf
Enable SoundMonitor in audio hal to handle ADSP SSR events,
do required cleanup and restore any active sessions gracefully.
Change-Id: I83270b7c12095e56a6677f41efe0f5618a27e0e5
Add support for AHAL clients to register for adsp events
and receive event callbacks when an event is triggered by adsp.
CRs-Fixed: 2023812
Change-Id: Ie22efee6e859c3d819ed3939e164cb7baebab71b
Update the notification mechanism of HDMI/DisplayPort cable
Connection/disconnect between audio and display driver.
Change-Id: I484f52c13ecddec7638261cad11394b362677763
CRs-Fixed: 2003481
Update HFP PCM device ID from platform_info.xml file (if defined)
instead of using explicitly defined hardcoded values.
CRs-Fixed: 1117322
Change-Id: Id903b32d12666d510326c2656133f0b957485418
Add support to send license key value and bt device address
to DSP. Add Aptx format related changes. Also add support for
struct based set params using set api.
CRs-Fixed: 1081424
Change-Id: I2877239e61d3841e6ae90af2d39fb0b93cc2b6db
Add changes to read acdb metainfo key and module name from platform
info xml. Changes to add acdb key values to a list and query key value
based on module name.
CRs-Fixed: 1081424
Change-Id: Ia287a27c86f63fea16cdb35d553de6e2e853b4e9
Pass SVA execution mode to sound trigger HAL received
as part of setparameters.
Add support for getparameters in soundtrigger and return
SVA execution mode status from sound trigger HAL when
queried.
Change-Id: I63c482920ee778beb806e3138c93e005e15ca897
Receiver Aided Stereo(RAS) is a feature to support stereo
playback over receiver and speaker. Add new RAS property
and device to support this feature.
Change-Id: I8cd62a352b2847d6068285ea84e2d8f85e931619
- Adding control for compress output format
- Fix for Avsync issue whild playing video clip due to QAF latency.
- updating to use channels instead of channel_mask.
- Added support for msmd
- Added Passthrough playback support for AC3, EAC3 and
Multichannel PCM formats.
Change-Id: Ia52192b6a8a9970617d0f1d9b3f613d12beb73c6
During display port disconnect, adev_set_parameter() is calling
platform_invalidate_hdmi_config() before the audio extension.
Attempts to read the current display type in order to determine
which sysfs node to communicate with. The solution is to
relocate invalidate function in audio extension to ensure that
it does not get called prematurely.
Change-Id: Ifc7bc8cc753855edacb8fa90a9f784086fef7594
CRs-Fixed: 1082254
Surround Sound Recording(SSR) supports only channel position
representation while default channel mask for multi-channel
recording is always index representation.
Return updated channel mask in case index representation is sent
for channel count 6. This ensures audio flinger reopens the session
with updated position representation channel mask.
And also handled the case if any client requests recording with
multichannel when SSR is not enabled, will check the max_mic_count
supported by the device and update the channel mask accordingly.
Change-Id: Ib925a5f31d50182cd595e547f3412ed809224a5a
- Update the way we scan for HDMI fb nodes. We
currently scan nodes 0, 1 & 2 which is not
sufficient when fb3 is present. We will now open
fbx until we get an error to ensure we will not
miss any nodes if new ones are added.
- Fix return value of read_hdmi_sink_caps(), we are
currently returning the displaytype. The caller
of the function is interpreting it as an error.
Change-Id: I4a81e93d246d234b86a81eb6597cf641e1ea1991
CRs-Fixed: 1075152
-In current design HDMI backend configuration does not validate
incoming configuration against what is supported by the
connected sink ( using edid). This results in an incorrect
configuration of the HDMI backend, sometimes leading to no audio.
-Move HDMI backend configuration to
platform_check_and_set_codec_backend_cfg, this design ensures
that HDMI backend configuration happens with valid and only
supported parameters (sample rate, channels and bit width)
by the connected sink.
-Remove usleep from keep_alive and move to conditional timed wait,
this ensures to break from the keep_alive loop quickly, instead
of waiting for the complete usleep duration.
CRs-Fixed: 1039831
Change-Id: Id46ae76575f1b8169370cee817b505b97af8fe01
- Add new audio extension module for a2dp
- Add support to configure AFE encoder based
on BT device capabilities
- Add support for soft handoff to re-configure
AFE based on new BT device capability
Change-Id: I5d710fda1a8d8fa3b5d85aaa2b3096cff8fd7ce5
- If WFD framework occupies the AFE proxy, it may result unintended
behavior while starting voice call over USB.
- Audio is always routed to the USB audio device when connected,
even if WFD is connected. So no need to allow afe proxy port
usage by WFD framework.
- Disallow the afe proxy port usage by external modules when
AUDIO_DEVICE_OUT_USB_DEVICE is connected.
CRs-Fixed: 998488
Change-Id: I889be7f477ae3f7ad46757592a46f3d0e8eb41e2
Add SET and GET parameter APIs to query speaker
parameters in feedback speaker protection FTM mode.
Change-Id: I14a2b8ccc2e0d61c4ccdcadd63c353ca31b9c8ad
Add support to dynamically configure MI2S rx sample rate to
support sampling rates upto 192KHZ on head phones for internal
codec. Add and set explicit mixer control to notify the sample
rate value to machine driver.
CRs-Fixed: 970158
Change-Id: Ib7968eaf9aeb5f9911f3c985af61a16a7e06744d
AANC handset device doesnt get enabled if anc is enabled via
setparameters() during a voice call. Add check for EARPIECE
device to enable aanc handset device for all non-capture
usecases.
CRs-Fixed: 958813
Change-Id: I4d8d4026d3abb388c4b1ea2c8de328a61d9bbd81
- Audio loss is observed if anc feature is turned on/off dynamically
during an 44.1 native playback session.
- Since 44.1 playback is not supported when anc is on, handle 44.1
sessions before applying anc configuration.
Change-Id: I7239dae8529fa4f960ace6acd2fcb668510abe66
- Modify sysfs node to allow audio hal to acknowledge
every HDMI connect/disconnect event.
- This makes audio hal and HDMI driver to be in sync
with respect to notifications and avoid any fast
plug-in/out notification issues.
Change-Id: I6aead358967c3e978f4f599de66c9884b28bf7e9
- Update FM device references to match latest
definitions to fix compilation of FM extention.
- Update FM feature flag for power optimization.
Change-Id: I17a9e240e552c4089d3e9c7a25e437fb5b5433f9