API reference

LayerIIDecoderBase Class

Constructors

LayerIIDecoderBase ( allocLookupTable , granuleCount )
Signature
Meta.Voice.NLayer.Decoder.LayerIIDecoderBase.LayerIIDecoderBase(int[][] allocLookupTable, int granuleCount)
Parameters
allocLookupTable: int
granuleCount: int

Protected Fields

SSLIMIT : const int
Signature
const int Meta.Voice.NLayer.Decoder.LayerIIDecoderBase.SSLIMIT

Protected Methods

GetRateTable ( frame )
Signature
abstract int [] Meta.Voice.NLayer.Decoder.LayerIIDecoderBase.GetRateTable(IMpegFrame frame)
Parameters
frame: IMpegFrame
Returns
abstract int []
ReadScaleFactorSelection ( frame , scfsi , channels )
Signature
abstract void Meta.Voice.NLayer.Decoder.LayerIIDecoderBase.ReadScaleFactorSelection(IMpegFrame frame, int[][] scfsi, int channels)
Parameters
frame: IMpegFrame
scfsi: int
channels: int
Returns
abstract void

Protected Static Methods

GetCRC ( frame , rateTable , allocLookupTable , readScfsiBits , crc )
Signature
static bool Meta.Voice.NLayer.Decoder.LayerIIDecoderBase.GetCRC(MpegFrame frame, int[] rateTable, int[][] allocLookupTable, bool readScfsiBits, ref uint crc)
Parameters
frame: MpegFrame
rateTable: int []
allocLookupTable: int
readScfsiBits: bool
crc: ref uint
Returns
bool

Internal Methods

DecodeFrame ( frame , ch0 , ch1 )
Signature
override int Meta.Voice.NLayer.Decoder.LayerIIDecoderBase.DecodeFrame(IMpegFrame frame, float[] ch0, float[] ch1)
Parameters
frame: IMpegFrame
ch0: float []
ch1: float []
Returns
override int