docs/doc/reference/com/google/android/exoplayer2/audio/Ac3Util.SyncFrameInfo.html
Package com.google.android.exoplayer2.audio
Enclosing class:Ac3Util
public static final classAc3Util.SyncFrameInfoextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Holds sample format information as presented by a syncframe header.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | Ac3Util.SyncFrameInfo.StreamType |
AC3 stream types.
|
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| int | bitrate |
The bitrate of audio samples.
|
| int | channelCount |
The number of audio channels
|
| int | 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 |
The type of the stream if mimeType is MimeTypes.AUDIO_E_AC3, or STREAM_TYPE_UNDEFINED otherwise.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final int STREAM_TYPE_UNDEFINED
Undefined AC3 stream type. See Also:Constant Field Values
-
public static final int STREAM_TYPE_TYPE0
Type 0 AC3 stream type. See Also:Constant Field Values
-
public static final int STREAM_TYPE_TYPE1
Type 1 AC3 stream type. See Also:Constant Field Values
-
public static final int STREAM_TYPE_TYPE2
Type 2 AC3 stream type. See Also:Constant Field Values
-
@Nullable
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")mimeType
The sample MIME type of the bitstream. One of MimeTypes.AUDIO_AC3 and MimeTypes.AUDIO_E_AC3.
-
public final @com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo.StreamType int streamType
The type of the stream if mimeType is MimeTypes.AUDIO_E_AC3, or STREAM_TYPE_UNDEFINED otherwise.
-
public final int sampleRate
The audio sampling rate in Hz.
-
public final int channelCount
The number of audio channels
-
public final int frameSize
The size of the frame.
-
public final int sampleCount
Number of audio samples in the frame.
-
public final int bitrate
The bitrate of audio samples.