diff options
author | Krishnankutty Kolathappilly <kkolat@codeaurora.org> | 2014-08-27 09:42:22 -0700 |
---|---|---|
committer | Krishnankutty Kolathappilly <kkolat@codeaurora.org> | 2014-08-27 11:01:57 -0700 |
commit | 4d8771ac899d408a2b6d1eee6dea48dd234eecb8 (patch) | |
tree | f7c5d4823329aa27dacfd2ff8720036b77bbfce7 | |
parent | 6e95b08e8f4081bd56a865f86faeace55be40538 (diff) | |
download | android_hardware_qcom_audio-4d8771ac899d408a2b6d1eee6dea48dd234eecb8.tar.gz android_hardware_qcom_audio-4d8771ac899d408a2b6d1eee6dea48dd234eecb8.tar.bz2 android_hardware_qcom_audio-4d8771ac899d408a2b6d1eee6dea48dd234eecb8.zip |
hal: Remove setting DAP bypass /DAP on from HAL
-DAP bypass / DAP on will be set from audioflinger when HDMI
passthrough starts and ends.
-Setting it from HAL has state mismatch between app/ effect
library and dap hal.
Change-Id: I62b7fe693b1bac71db585ab90ae54a231f0dfd5b
-rw-r--r-- | hal/audio_hw.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index fd460910..765f15e5 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c @@ -1153,7 +1153,6 @@ static int stop_output_stream(struct stream_out *out) /* NO_PASSTHROUGH */ out->compr_config.codec->compr_passthr = 0; audio_extn_dolby_set_hdmi_format_and_samplerate(adev, out); - audio_extn_dolby_set_dap_bypass(adev, DAP_STATE_ON); } /* Must be called after removing the usecase from list */ if (out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) @@ -1192,10 +1191,6 @@ int start_output_stream(struct stream_out *out) if (out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) { if (is_offload_usecase(out->usecase)) { if (audio_extn_dolby_is_passthrough_stream(out->flags)) { - ret = audio_extn_dolby_set_dap_bypass(adev, DAP_STATE_BYPASS); - if(ret != 0) { - goto error_open; - } audio_extn_dolby_update_passt_stream_configuration(adev, out); } } |