commit | e10585403c4f92c52841f85046e7fc9264f1670b | [log] [tgz] |
---|---|---|
author | Vignesh Venkatasubramanian <vigneshv@google.com> | Thu Jun 11 11:15:00 2015 -0700 |
committer | worker <worker@fairphone.com> | Fri Oct 30 17:15:17 2015 +0100 |
tree | 45b9c64f8eb021818fff4a25636068520a21cea6 | |
parent | 334bf51161d8cfa9257877f3bb85b0c0b5495445 [diff] |
FP2-1575: SoftOpus: Fix output buffer capacity. SoftOpus: Fix output buffer capacity. The output buffer size as per opus project's sample decoder [1] is 960*6*channel_count. Whereas in SoftOpus, we use 960*6 (without the channel count multiplier. Fixing it to include maximum number of channels possible as the multiplier. [1] http://git.xiph.org/?p=opus-tools.git;a=blob;f=src/opusdec.c;h=d085f04eacdfd49759ffdb73db805562ba396720;hb=f2a2e88b47f6f24083a37be476f140f677fe7160#l571 BUG=20721050 Change-Id: I323891a1b11491782bc093477b09e7757b885674 (cherry picked from commit 08e8227514f5ab99822dfae8b4d39414646ff59d)