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.

CRs-Fixed: 761339
Change-Id: I62b7fe693b1bac71db585ab90ae54a231f0dfd5b
This commit is contained in:
Pradnya Chaphekar 2014-08-27 09:42:22 -07:00 committed by Haynes Mathew George
parent d5349cee03
commit 124de7e30c
1 changed files with 0 additions and 4 deletions

View File

@ -1441,10 +1441,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);
}
}