public long skip(long n) throws IOException {
  if ((n % frameSize) != 0) {
    n-=(n % frameSize);
  }
  if (frameLength != AudioSystem.NOT_SPECIFIED) {
    if ((n / frameSize) > (frameLength - framePos)) {
      n=(frameLength - framePos) * frameSize;
    }
  }
  long temp=stream.skip(n);
  if (temp % frameSize != 0) {
    throw new IOException("Could not skip an integer number of frames.");
  }
  if (temp >= 0) {
    framePos+=temp / frameSize;
  }
  return temp;
}

public long skip ( long n ) throws IOException { if ( ( n % frameSize ) != 0 ) { n -= ( n % frameSize ) ; } if ( frameLength != AudioSystem . NOT_SPECIFIED ) { if ( ( n / frameSize ) > ( frameLength - framePos ) ) { n = ( frameLength - framePos ) * frameSize ; } } long temp = stream . skip ( n ) ; if ( temp % frameSize != 0 ) { throw new IOException ( "Could not skip an integer number of frames." ) ; } if ( temp >= 0 ) { framePos += temp / frameSize ; } return temp ; }
skips over and discards a specified number of bytes from this audio input stream .
