Logo Search packages:      
Sourcecode: libjlayer-java version File versions  Download package

javazoom::jl::decoder::Decoder Class Reference

Inheritance diagram for javazoom::jl::decoder::Decoder:

javazoom::jl::decoder::DecoderErrors javazoom::jl::decoder::JavaLayerErrors

List of all members.


Detailed Description

The Decoder class encapsulates the details of decoding an MPEG audio frame.

Author:
MDM
Version:
0.0.7 12/12/99
Since:
0.0.5

Definition at line 31 of file Decoder.java.


Public Member Functions

Obuffer decodeFrame (Header header, Bitstream stream) throws DecoderException
 Decoder (Params params0)
 Decoder ()
int getOutputBlockSize ()
int getOutputChannels ()
int getOutputFrequency ()
void setEqualizer (Equalizer eq)
void setOutputBuffer (Obuffer out)

Static Public Member Functions

static Params getDefaultParams ()

Static Public Attributes

static final int BITSTREAM_ERROR = 0x100
static final int DECODER_ERROR = 0x200
static final int UNKNOWN_ERROR = DECODER_ERROR + 0
static final int UNSUPPORTED_LAYER = DECODER_ERROR + 1

Protected Member Functions

DecoderException newDecoderException (int errorcode, Throwable throwable)
DecoderException newDecoderException (int errorcode)
FrameDecoder retrieveDecoder (Header header, Bitstream stream, int layer) throws DecoderException

Private Member Functions

void initialize (Header header) throws DecoderException

Private Attributes

Equalizer equalizer = new Equalizer()
SynthesisFilter filter1
SynthesisFilter filter2
boolean initialized
LayerIDecoder l1decoder
LayerIIDecoder l2decoder
LayerIIIDecoder l3decoder
Obuffer output
int outputChannels
int outputFrequency
Params params

Static Private Attributes

static final Params DEFAULT_PARAMS = new Params()

Classes

class  Params

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index