OSDN Git Service

audioflinger: clear mMixerBuffer if frame is not ready
authorMohan Kumar <mkumard@nvidia.com>
Fri, 12 Dec 2014 09:46:46 +0000 (15:16 +0530)
committerSteve Kondik <steve@cyngn.com>
Wed, 23 Mar 2016 00:14:35 +0000 (17:14 -0700)
commit27ee071a98549919b92c195d51455c62a83ddd1b
tree18435b1e5d29cf6bd3b863ec3d5d2a02bf425df7
parent536fd16fa6d56008ba3d6f46275fd52dac25fd8c
audioflinger: clear mMixerBuffer if frame is not ready

Clear the mMixerBuffer if frame is not ready before the FastMixer
starts processing. Otherwise it might result in large glitches on
output device due to junk data present in the mixbuffer.

Change-Id: I9f025234d4ac100f85d2ec67c06a8df4195bea98
services/audioflinger/FastMixer.cpp