Class Ac3Util.SyncFrameInfo
- java.lang.Object
-
- com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Ac3Util.SyncFrameInfo.StreamType
AC3 stream types.
-
Field Summary
Fields Modifier and Type Field Description int
bitrate
The bitrate of audio samples.int
channelCount
The number of audio channelsint
frameSize
The size of the frame.String
mimeType
The sample MIME type of the bitstream.int
sampleCount
Number of audio samples in the frame.int
sampleRate
The audio sampling rate in Hz.static int
STREAM_TYPE_TYPE0
Type 0 AC3 stream type.static int
STREAM_TYPE_TYPE1
Type 1 AC3 stream type.static int
STREAM_TYPE_TYPE2
Type 2 AC3 stream type.static int
STREAM_TYPE_UNDEFINED
Undefined AC3 stream type.@com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo.StreamType int
streamType
-
-
-
Field Detail
-
STREAM_TYPE_UNDEFINED
public static final int STREAM_TYPE_UNDEFINED
Undefined AC3 stream type.- See Also:
- Constant Field Values
-
STREAM_TYPE_TYPE0
public static final int STREAM_TYPE_TYPE0
Type 0 AC3 stream type.- See Also:
- Constant Field Values
-
STREAM_TYPE_TYPE1
public static final int STREAM_TYPE_TYPE1
Type 1 AC3 stream type.- See Also:
- Constant Field Values
-
STREAM_TYPE_TYPE2
public static final int STREAM_TYPE_TYPE2
Type 2 AC3 stream type.- See Also:
- Constant Field Values
-
mimeType
@Nullable public final String mimeType
The sample MIME type of the bitstream. One ofMimeTypes.AUDIO_AC3
andMimeTypes.AUDIO_E_AC3
.
-
streamType
public final @com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo.StreamType int streamType
-
sampleRate
public final int sampleRate
The audio sampling rate in Hz.
-
channelCount
public final int channelCount
The number of audio channels
-
frameSize
public final int frameSize
The size of the frame.
-
sampleCount
public final int sampleCount
Number of audio samples in the frame.
-
bitrate
public final int bitrate
The bitrate of audio samples.
-
-