author | Jian Xu <jian.xu@amlogic.com> | 2016-01-12 10:09:30 (GMT) |
---|---|---|
committer | Jian Xu <jian.xu@amlogic.com> | 2016-01-12 10:09:30 (GMT) |
commit | 1e6990480c910388f830106edd851e008b151c2b (patch) | |
tree | 0f70a77bb6384dfaa24f09d73cd6ca7932a3c3d7 | |
parent | 544c3ba84a611fcff62001bb19d2350c476979c0 (diff) | |
download | audio-1e6990480c910388f830106edd851e008b151c2b.zip audio-1e6990480c910388f830106edd851e008b151c2b.tar.gz audio-1e6990480c910388f830106edd851e008b151c2b.tar.bz2 |
PD#117486 : audio: refine the truehd share buffer size
Change-Id: Idedf02dce2dfd0eff0db0eba081dc6ca9b4b0f15
-rw-r--r-- | hdmi_audio_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hdmi_audio_hw.c b/hdmi_audio_hw.c index d13c2a2..dab9053 100644 --- a/hdmi_audio_hw.c +++ b/hdmi_audio_hw.c @@ -835,7 +835,7 @@ out_get_buffer_size (const struct audio_stream *stream) (int64_t) DEFAULT_OUT_SAMPLING_RATE) / out->config.rate; else if (codec_type == 7) size = - (PERIOD_SIZE * 4 * 4 * PLAYBACK_PERIOD_COUNT * + (PERIOD_SIZE * 4 * PLAYBACK_PERIOD_COUNT * (int64_t) DEFAULT_OUT_SAMPLING_RATE) / out->config.rate; else if (codec_type > 0 && codec_type < 4) //dd/dts size = |