Class Ac3Util.SyncFrameInfo
- java.lang.Object
-
- com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAc3Util.SyncFrameInfo.StreamTypeAC3 stream types.
-
Field Summary
Fields Modifier and Type Field Description intbitrateThe bitrate of audio samples.intchannelCountThe number of audio channelsintframeSizeThe size of the frame.StringmimeTypeThe sample MIME type of the bitstream.intsampleCountNumber of audio samples in the frame.intsampleRateThe audio sampling rate in Hz.static intSTREAM_TYPE_TYPE0Type 0 AC3 stream type.static intSTREAM_TYPE_TYPE1Type 1 AC3 stream type.static intSTREAM_TYPE_TYPE2Type 2 AC3 stream type.static intSTREAM_TYPE_UNDEFINEDUndefined AC3 stream type.@com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo.StreamType intstreamType
-
-
-
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_AC3andMimeTypes.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.
-
-