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:
parent
d5349cee03
commit
124de7e30c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue