From e59d8950a4ac1442657dff5b187a803bcf2987ab Mon Sep 17 00:00:00 2001 From: Jian Xu Date: Fri, 06 Jan 2017 06:24:47 +0000 Subject: PD#138039: audio: fix the DD+ render pos divider issue,192K by kodi not 48K Change-Id: Ib5fce5ade9dc3426615d350cd4bdeddefd7236f9 --- diff --git a/audio_hw.c b/audio_hw.c index 0d60ffb..c666627 100644 --- a/audio_hw.c +++ b/audio_hw.c @@ -3254,7 +3254,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev, out->raw_61937_frame_size = 1; digital_codec = get_codec_type(config->format); if (digital_codec == TYPE_EAC3) { - out->raw_61937_frame_size = 16; + out->raw_61937_frame_size = 4; out->config.period_size = pcm_config_out.period_size * 2; } else if (digital_codec == TYPE_TRUE_HD || digital_codec == TYPE_DTS_HD) { out->config.period_size = pcm_config_out.period_size * 4 * 2; -- cgit