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

void javazoom::jl::decoder::Bitstream::unreadFrame (  )  throws BitstreamException [inline]

Unreads the bytes read from the frame.

Exceptions:
BitstreamException 

Definition at line 336 of file Bitstream.java.

References bitindex, frame_bytes, framesize, javazoom::jl::decoder::BitstreamErrors::STREAM_ERROR, and wordpointer.

      {
            if (wordpointer==-1 && bitindex==-1 && (framesize>0))
            {
                  try
                  {
                        source.unread(frame_bytes, 0, framesize);
                  }
                  catch (IOException ex)
                  {
                        throw newBitstreamException(STREAM_ERROR);
                  }
            }
      }


Generated by  Doxygen 1.6.0   Back to index