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

boolean javazoom::jl::player::advanced::AdvancedPlayer::skipFrame (  )  throws JavaLayerException [inline, protected]

skips over a single frame

Returns:
false if there are no more frames to decode, true otherwise.

Definition at line 180 of file AdvancedPlayer.java.

References bitstream, javazoom::jl::decoder::Bitstream::closeFrame(), and javazoom::jl::decoder::Bitstream::readFrame().

Referenced by play().

      {
            Header h = bitstream.readFrame();
            if (h == null) return false;
            bitstream.closeFrame();
            return true;
      }


Generated by  Doxygen 1.6.0   Back to index