hal: dolby: send correct sample rate to ADM
- fix the error where HDMI passthrough check was compiled out this was causing to set wrong sample rate and opening ADM at 4 times the content sample rate. Change-Id: I2f1c81ab7b1430d63844c27e5b6adb730c4fa9ee CRs-Fixed: 968703
This commit is contained in:
parent
6958d240eb
commit
f447ef1e88
|
@ -663,7 +663,7 @@ int audio_extn_utils_send_app_type_cfg(struct audio_device *adev,
|
|||
app_type_cfg[len++] = acdb_dev_id;
|
||||
if (((usecase->stream.out->format == AUDIO_FORMAT_E_AC3) ||
|
||||
(usecase->stream.out->format == AUDIO_FORMAT_E_AC3_JOC))
|
||||
&& audio_extn_dolby_is_passthrough_stream(usecase->stream.out)) {
|
||||
&& audio_extn_dolby_is_passthrough_stream(usecase->stream.out->flags)) {
|
||||
app_type_cfg[len++] = sample_rate * 4;
|
||||
} else {
|
||||
app_type_cfg[len++] = sample_rate;
|
||||
|
|
Loading…
Reference in New Issue