Defines a standard way of representing a MPEG frame to the decoder More...
Public Member Functions | |
void | Reset () |
Resets the bit reader so frames can be reused More... | |
int | ReadBits (int bitCount) |
Provides sequential access to the bitstream in the frame (after the header and optional CRC) More... | |
Properties | |
int | SampleRate [get] |
Sample rate of this frame More... | |
int | SampleRateIndex [get] |
The samplerate index (directly from the header) More... | |
int | FrameLength [get] |
Frame length in bytes More... | |
int | BitRate [get] |
Bit Rate More... | |
MpegVersion | Version [get] |
MPEG Version More... | |
MpegLayer | Layer [get] |
MPEG Layer More... | |
MpegChannelMode | ChannelMode [get] |
Channel Mode More... | |
int | ChannelModeExtension [get] |
The number of samples in this frame More... | |
int | SampleCount [get] |
The channel extension bits More... | |
int | BitRateIndex [get] |
The bitrate index (directly from the header) More... | |
bool | IsCopyrighted [get] |
Whether the Copyright bit is set More... | |
bool | HasCrc [get] |
Whether a CRC is present More... | |
bool | IsCorrupted [get] |
Whether the CRC check failed (use error concealment strategy) More... | |
Detailed Description
Defines a standard way of representing a MPEG frame to the decoder
Member Function Documentation
◆ ReadBits()
int Crosstales.NLayer.IMpegFrame.ReadBits | ( | int | bitCount | ) |
Provides sequential access to the bitstream in the frame (after the header and optional CRC)
- Parameters
-
bitCount The number of bits to read
- Returns
- -1 if the end of the frame has been encountered, otherwise the bits requested
Implemented in Crosstales.NLayer.Decoder.MpegFrame.
◆ Reset()
void Crosstales.NLayer.IMpegFrame.Reset | ( | ) |
Resets the bit reader so frames can be reused
Implemented in Crosstales.NLayer.Decoder.MpegFrame.
Property Documentation
◆ BitRate
|
get |
Bit Rate
◆ BitRateIndex
|
get |
The bitrate index (directly from the header)
◆ ChannelMode
|
get |
Channel Mode
◆ ChannelModeExtension
|
get |
The number of samples in this frame
◆ FrameLength
|
get |
Frame length in bytes
◆ HasCrc
|
get |
Whether a CRC is present
◆ IsCopyrighted
|
get |
Whether the Copyright bit is set
◆ IsCorrupted
|
get |
Whether the CRC check failed (use error concealment strategy)
◆ Layer
|
get |
MPEG Layer
◆ SampleCount
|
get |
The channel extension bits
◆ SampleRate
|
get |
Sample rate of this frame
◆ SampleRateIndex
|
get |
The samplerate index (directly from the header)
◆ Version
|
get |
MPEG Version
The documentation for this interface was generated from the following file:
- C:/Users/slaub/Unity/assets/DJPro/DJPro/Assets/Plugins/crosstales/Common/Libraries/NLayer/IMpegFrame.cs