From e76471a499769c36b4a77d77094becd5afe7c5fa Mon Sep 17 00:00:00 2001 From: Max Weffers Date: Sun, 2 Jun 2019 07:43:54 +0200 Subject: [PATCH] clover: Remove Dolby formats by default. The AC3, EAC3 formats are supported only when license and respective decoders are present. Having these entries in policy configuration by default will unnecessarily trigger open_output_stream and then fail when decoders are not present. This results in glitches at the begining of playback of video clips with AC3 or EAC3 audio contents. Removed these entries to make the video playbck smooth with out any glitches. CRs-Fixed: 2428579 Change-Id: I41b7ef9d8e2c5f77c261067337f602d705e11c35 Signed-off-by: Dusan Uveric --- audio/audio_output_policy.conf | 2 +- audio/audio_policy_configuration.xml | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/audio/audio_output_policy.conf b/audio/audio_output_policy.conf index a74791b..c6338e5 100644 --- a/audio/audio_output_policy.conf +++ b/audio/audio_output_policy.conf @@ -48,7 +48,7 @@ outputs { } compress_passthrough { flags AUDIO_OUTPUT_FLAG_DIRECT|AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD|AUDIO_OUTPUT_FLAG_NON_BLOCKING|AUDIO_OUTPUT_FLAG_COMPRESS_PASSTHROUGH - formats AUDIO_FORMAT_AC3|AUDIO_FORMAT_E_AC3|AUDIO_FORMAT_E_AC3_JOC|AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD + formats AUDIO_FORMAT_DTS|AUDIO_FORMAT_DTS_HD|AUDIO_FORMAT_DSD sampling_rates 32000|44100|48000|88200|96000|176400|192000|352800 bit_width 16 app_type 69941 diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index cb30faa..29936ef 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -117,15 +117,6 @@ - - -