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

javazoom::jl::decoder::Bitstream::Bitstream ( InputStream  in  )  [inline]

Construct a IBitstream that reads data from a given InputStream.

Parameters:
in The InputStream to read from.

Definition at line 142 of file Bitstream.java.

References BUFFER_INT_SIZE, closeFrame(), and loadID3v2().

      {
            if (in==null) throw new NullPointerException("in");
            in = new BufferedInputStream(in);         
            loadID3v2(in);
            firstframe = true;
            //source = new PushbackInputStream(in, 1024);
            source = new PushbackInputStream(in, BUFFER_INT_SIZE*4);
            
            closeFrame();
            //current_frame_number = -1;
            //last_frame_number = -1;
      }


Generated by  Doxygen 1.6.0   Back to index