C# Class javazoom.jl.decoder.Decoder

The Decoder class encapsulates the details of decoding an MPEG audio frame.
Inheritance: DecoderErrors
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

Method Description
Decoder ( ) : System

Creates a new Decoder instance with default parameters.

Decoder ( Params params0 ) : System

Creates a new Decoder instance with default parameters.

decodeFrame ( Header header, Bitstream stream ) : Obuffer

Decodes one frame from an MPEG audio bitstream.

Protected Methods

Method Description
newDecoderException ( int errorcode ) : DecoderException
newDecoderException ( int errorcode, System throwable ) : DecoderException
retrieveDecoder ( Header header, Bitstream stream, int layer ) : FrameDecoder

Private Methods

Method Description
InitBlock ( ) : void
initialize ( Header header ) : void

Method Details

Decoder() public method

Creates a new Decoder instance with default parameters.
public Decoder ( ) : System
return System

Decoder() public method

Creates a new Decoder instance with default parameters.
public Decoder ( Params params0 ) : System
params0 Params
return System

decodeFrame() public method

Decodes one frame from an MPEG audio bitstream.
public decodeFrame ( Header header, Bitstream stream ) : Obuffer
header Header
stream Bitstream
return Obuffer

newDecoderException() protected method

protected newDecoderException ( int errorcode ) : DecoderException
errorcode int
return DecoderException

newDecoderException() protected method

protected newDecoderException ( int errorcode, System throwable ) : DecoderException
errorcode int
throwable System
return DecoderException

retrieveDecoder() protected method

protected retrieveDecoder ( Header header, Bitstream stream, int layer ) : FrameDecoder
header Header
stream Bitstream
layer int
return FrameDecoder