OSDN Git Service

Revert input buffer count for the SoftAAC* decoders back to 4.
authorAndreas Huber <andih@google.com>
Wed, 20 Jun 2012 19:46:38 +0000 (12:46 -0700)
committerThe Android Automerger <android-build@android.com>
Wed, 20 Jun 2012 22:45:48 +0000 (15:45 -0700)
commit09e9c89978d636d48dee8bdad9c1444f035ebb4d
tree50b33abb023da5b993b3b79105aabc07abea7284
parent215bf587522e5587a4b46344304e6b0beef405b5
Revert input buffer count for the SoftAAC* decoders back to 4.

This improves the netflix bandwidth change responsiveness.
With the old count of 32 the audio decoder running at a higher
priority would starve the video decoder for about 1 sec while
draining the input data.

I haven't been able to break any stream playback using MediaCodec
using the lower count, even though I'm sure I had a good reason
to increase it in the first place (see bug 6478823)

Change-Id: I7fd3e71794b0cc1570ea9d27d1d869ab1e1750c4
related-to-bug: 6685031
media/libstagefright/codecs/aacdec/SoftAAC.h
media/libstagefright/codecs/aacdec/SoftAAC2.h