mirror of
https://github.com/samsonjs/media.git
synced 2026-04-04 11:05:47 +00:00
Resolve TrueHD spec TODO
PiperOrigin-RevId: 288855515
This commit is contained in:
parent
4f15cfaa78
commit
017a7cf38c
1 changed files with 2 additions and 2 deletions
|
|
@ -534,8 +534,8 @@ public final class Ac3Util {
|
|||
* contain the start of a syncframe.
|
||||
*/
|
||||
public static int parseTrueHdSyncframeAudioSampleCount(byte[] syncframe) {
|
||||
// TODO: Link to specification if available.
|
||||
// The syncword ends 0xBA for TrueHD or 0xBB for MLP.
|
||||
// See "Dolby TrueHD (MLP) high-level bitstream description" on the Dolby developer site,
|
||||
// subsections 2.2 and 4.2.1. The syncword ends 0xBA for TrueHD or 0xBB for MLP.
|
||||
if (syncframe[4] != (byte) 0xF8
|
||||
|| syncframe[5] != (byte) 0x72
|
||||
|| syncframe[6] != (byte) 0x6F
|
||||
|
|
|
|||
Loading…
Reference in a new issue