code: public Obuffer decodeFrame(Header header, Bitstream stream)
  		throws DecoderException
  	{
  		try
  		{
  			if (!initialized)
  			{
  				initialize(header);
  			}
  			
  			int layer = header.layer();
  			
  			output.clear_buffer();
  			
  			FrameDecoder decoder = retrieveDecoder(header, stream, layer);
  			
  			decoder.decodeFrame();
  					
  			output.write_buffer(1);
  		}
  		catch (RuntimeException ex)
  		{
  			// UUPS - this frame seems to be corrupt - let's continue to the next one
  		}
  		
  		return output;	
  	}
docs: Decodes one frame from an MPEG audio bitstream.
  
  @param header		The header describing the frame to decode.
  @param bitstream		The bistream that provides the bits for the body of the frame.
  
  @return A SampleBuffer containing the decoded samples.