Refactor audio sample calculation for EAC3#3276
Conversation
Calculate the number of audio samples based on frame size and number of frames for EAC3.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
For #3276, the sample count calculation can overcount when an EC-3 sample contains multiple syncframes for different substreams. In For example, a sample with two substreams and three audio blocks per syncframe may contain four syncframes. This implementation would return |
Calculate the number of audio samples based on frame size and number of frames for EAC3.