code: public int max_number_of_frames(int streamsize)  // E.B
  	{
  		if (h_vbr == true) return h_vbr_frames;
  		else
  		{
  			if ((framesize + 4 - h_padding_bit) == 0) return 0;
  			else return(streamsize / (framesize + 4 - h_padding_bit));
  		}
  	}
docs: Returns the maximum number of frames in the stream.
  @param streamsize
  @return number of frames