When ACDB initialization fails the deallocation
should be called in order to free up any resources
created during init.
Change-Id: I6220ea241361f1bb46b83c9b30087af8d663d6ac
-ADM is being opened at 48Khz instead of 44.1Khz where single
backend used for 48Khz and 44.1Khz playback.
-Add check for other headphone snd device which supports native
playback.
Change-Id: If27906425d36fc02b0df011b21b8f9935dfe9159
Audio loss observed when encoder configured with mono mode.
This occurs because when configuration of encoder with mono mode
happens 0 channel mapping is sent to ADSP which rejects it as invalid
channel mapping.
To avoid this send default stereo channel mapping for both mono and dual
mono case.
CRs-Fixed: 2528391
Change-Id: Ie8d04965fb43f1beea747b23ae86464f943afdae
-hifi filter snd device is getting selected incorrectly
in some cases as it is checked with APM output device
leading to playback failure
-remove incorrect APM output device check for snd device
hifi filter.
Change-Id: Ib694665b9395dffce74053f7dd399372a48ea5ac
-Set ambisonics record properties to false by default
-Change the properties to be persist
-Modify property get to use the new property names
Change-Id: Ie9ac14555dc56bbce65017fb861fe8c3218f8526
DEFAULT_CODEC_TX_BACKEND & SLIMBUS_0_TX shares the
same enum, causing overriding of sample rate & format.
Remove setting of default values for SLIMBUS_0_TX sample
rate & format since it is already taken care as part of
DEFAULT_CODEC_TX_BACKEND
CRs-Fixed: 2529031
Change-Id: I180af115f05d49d34059eaf177cc4a4121744d0e
With GSI, voip rx path is opened at bootup time. Due to
this pcm config is left unset with zero initialized pcm config
causing failure when vts test client tries to create voip track.
This change is to set valid pcm config, thereby sending out
valid pcm config values whenever the client requests even if
voip call is not started.
Change-Id: Ic36faea1f5599703a05f515d30354908015ecc36
For speaker swap channels, apply audio path need not be
sent when swap is not requested or device switch is not
needed. Sending apply audio path will increment the ref
count in audio route which can lead to erroneous condition.
Change-Id: I64e3a867cd749c56d3432f1443f2cc4a92894374
hal VTS test cases opens and closes adev continuously for test case.
Battery Listener is initialized during adev_open but not properly deinitialized
during adev_close .
in battery_listener unregister all the reference which were registered during
init .
Change-Id: I9793f24f717ec760a79ee4316c227b25de30609e
KW fix for address pointer check before usage
in auto HAL.
Signed-off-by: E V Ravi <evenka@codeaurora.org>
Change-Id: I9b658a86e6f3bd9ee460af1f6bdb58de08842740
Currently ICMD output is set as stereo and do downmix to
mono when writing to driver, the speed of mono playback
will be doubled.
Do downmix for steteo clips only to fix it.
Change-Id: I654cad4348f2538e07b596ec7b00a5c8f53f537a
When sco mic device is already active and
A2dpsuspened=false is received, then route
is switched to A2dp, but sco mic can still
keep active which means the BE is already
active, causing the slimbus configuration of
feedback path for A2dp to be ignored.
To fix this, tear down the input stream to
disable bt sco mic before enabling a2dp path.
Change-Id: I67f1e1ef03febb0bd3736509500195808dc1e53b