commit | fe521b18c3d6d0f960b1e028d804b5c4b47e705a | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Wed Nov 12 16:56:25 2014 -0800 |
committer | Phil Burk <philburk@google.com> | Fri Nov 14 15:19:47 2014 -0800 |
tree | 27d830e6d2b304d9ad791099eead1fea76973815 | |
parent | 567167ac6be36e732e98089d6e5d7d4f041f3323 [diff] |
[audio][eac3] Support EAC3 with small frames EAC3 can have 1,2,3 or 6 audio blocks per sync frame. The old code only supported 6 audio blocks per sync frame. So streams with fewer blocks were not aligned correctly in the SPDIF data burst. See IEC61937-3 spec P5.3.3. The code now tracks how many blocks have been accumulated for each possible substream. Bug: 18315783 Change-Id: I75dbedeb69a597a877b2b68c6be23c831ae119b6 Signed-off-by: Phil Burk <philburk@google.com>