mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Merge pull request #11061 from cedricxperi:dts-udts-support
PiperOrigin-RevId: 517067549
This commit is contained in:
commit
eb6fc93b15
@ -176,6 +176,9 @@ import java.util.List;
|
|||||||
@SuppressWarnings("ConstantCaseForConstants")
|
@SuppressWarnings("ConstantCaseForConstants")
|
||||||
public static final int TYPE_ddts = 0x64647473;
|
public static final int TYPE_ddts = 0x64647473;
|
||||||
|
|
||||||
|
@SuppressWarnings("ConstantCaseForConstants")
|
||||||
|
public static final int TYPE_udts = 0x75647473;
|
||||||
|
|
||||||
@SuppressWarnings("ConstantCaseForConstants")
|
@SuppressWarnings("ConstantCaseForConstants")
|
||||||
public static final int TYPE_tfdt = 0x74666474;
|
public static final int TYPE_tfdt = 0x74666474;
|
||||||
|
|
||||||
|
@ -1604,7 +1604,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
|
|||||||
// because these streams can carry simultaneously multiple representations of the same
|
// because these streams can carry simultaneously multiple representations of the same
|
||||||
// audio. Use stereo by default.
|
// audio. Use stereo by default.
|
||||||
channelCount = 2;
|
channelCount = 2;
|
||||||
} else if (childAtomType == Atom.TYPE_ddts) {
|
} else if (childAtomType == Atom.TYPE_ddts || childAtomType == Atom.TYPE_udts) {
|
||||||
out.format =
|
out.format =
|
||||||
new Format.Builder()
|
new Format.Builder()
|
||||||
.setId(trackId)
|
.setId(trackId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user