summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshish Jain <ashishj@codeaurora.org>2016-09-27 19:57:26 +0530
committerRicardo Cerqueira <ricardo@cyngn.com>2016-10-20 15:21:46 +0100
commita8a6e1f87533e56a57c2874f596d4eaf2d2c9362 (patch)
tree22c358431f3fafe7541df133d6a389e0b025b0ca
parenta879bb40b4a2b39630b59f15135203a1219b99f9 (diff)
downloadandroid_hardware_qcom_audio-a8a6e1f87533e56a57c2874f596d4eaf2d2c9362.tar.gz
android_hardware_qcom_audio-a8a6e1f87533e56a57c2874f596d4eaf2d2c9362.tar.bz2
android_hardware_qcom_audio-a8a6e1f87533e56a57c2874f596d4eaf2d2c9362.zip
audio: hal: Ensure correct configuration of ADM during HIFI playback.
-Current code configures ADM to 48Khz even if HIFI playback is supported on the device using external codec. -Remove the check to ensure ADM is configured correct. Change-Id: I649e8e8949543b1cc708dc4cbb635446b49a0f01
-rw-r--r--hal/audio_extn/utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hal/audio_extn/utils.c b/hal/audio_extn/utils.c
index 829e2cc3..5e0cb985 100644
--- a/hal/audio_extn/utils.c
+++ b/hal/audio_extn/utils.c
@@ -630,9 +630,6 @@ int audio_extn_utils_send_app_type_cfg(struct audio_device *adev,
usecase->stream.out->app_type_cfg.sample_rate = DEFAULT_OUTPUT_SAMPLING_RATE;
}
- if (!audio_extn_is_hifi_audio_enabled())
- usecase->stream.out->app_type_cfg.sample_rate = DEFAULT_OUTPUT_SAMPLING_RATE;
-
sample_rate = usecase->stream.out->app_type_cfg.sample_rate;
property_get("audio.playback.mch.downsample",value,"");