Ac3Util.SyncFrameInfo
public final class Ac3Util.SyncFrameInfo
Holds sample format information as presented by a syncframe header.
Summary
Nested types |
|---|
@DocumentedAC3 stream types. |
Constants |
|
|---|---|
static final int |
Type 0 AC3 stream type. |
static final int |
Type 1 AC3 stream type. |
static final int |
Type 2 AC3 stream type. |
static final int |
Undefined AC3 stream type. |
Public fields |
|
|---|---|
final int |
The bitrate of audio samples. |
final int |
The number of audio channels |
final int |
The size of the frame. |
final @Nullable String |
The sample MIME type of the bitstream. |
final int |
Number of audio samples in the frame. |
final int |
The audio sampling rate in Hz. |
final int |
The type of the stream if |
Constants
Public fields
mimeType
public final @Nullable String mimeType
The sample MIME type of the bitstream. One of AUDIO_AC3 and AUDIO_E_AC3.
streamType
@Ac3Util.SyncFrameInfo.StreamType
public final int streamType
The type of the stream if mimeType is AUDIO_E_AC3, or STREAM_TYPE_UNDEFINED otherwise.