Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39a31135 authored by Andreas Huber's avatar Andreas Huber
Browse files

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
parent eb15716b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ protected:

private:
    enum {
        kNumInputBuffers        = 32,
        kNumInputBuffers        = 4,
        kNumOutputBuffers       = 4,
    };

+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ protected:

private:
    enum {
        kNumInputBuffers        = 32,
        kNumInputBuffers        = 4,
        kNumOutputBuffers       = 4,
    };